https://github.com/EasyCrypt/easycrypt
Revision d6f54afae72ceb4ee36fe4e3868406abe6b1898c authored by Benjamin Gregoire on 16 September 2021, 15:44:18 UTC, committed by Benjamin Gregoire on 16 September 2021, 15:44:18 UTC
1 parent 56a6902
Raw File
Tip revision: d6f54afae72ceb4ee36fe4e3868406abe6b1898c authored by Benjamin Gregoire on 16 September 2021, 15:44:18 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