https://github.com/EasyCrypt/easycrypt
Raw File
Tip revision: d6f54afae72ceb4ee36fe4e3868406abe6b1898c authored by Benjamin Gregoire on 16 September 2021, 15:44 UTC
WIP
Tip revision: d6f54af
default.nix
with import <nixpkgs> {};

if !lib.versionAtLeast why3.version "1.4" then
  throw "please update your nixpkgs channel: nix-channel --update"
else
stdenv.mkDerivation {
  name = "easycrypt-1.0";
  src = ./.;
  buildInputs = [ why3 ]
    ++ (with ocamlPackages; [ ocaml findlib ocamlbuild batteries menhir menhirLib merlin zarith inifiles yojson])
    ;
  installFlags = [ "PREFIX=$(out)" ];
}
back to top