https://github.com/EasyCrypt/easycrypt
Revision 489ff1728c70bb1ca06f3bba914ec7d3b1a9b3d5 authored by Benjamin Gregoire on 30 June 2021, 09:54:24 UTC, committed by Benjamin Gregoire on 30 June 2021, 10:01:04 UTC
1 parent 410f882
Raw File
Tip revision: 489ff1728c70bb1ca06f3bba914ec7d3b1a9b3d5 authored by Benjamin Gregoire on 30 June 2021, 09:54:24 UTC
default.nix
Tip revision: 489ff17
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