https://github.com/EasyCrypt/easycrypt
Raw File
Tip revision: 9c1fdfb049b466714957e710d3d458cf2368d6df authored by Pierre-Yves Strub on 28 January 2019, 13:40:40 UTC
Reduction fix: reduces record projections when applied.
Tip revision: 9c1fdfb
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