https://github.com/EasyCrypt/easycrypt
Revision 4da60d2eb0b01b259e9569611fb413fa3618201e authored by Christian Doczkal on 03 November 2021, 15:06:57 UTC, committed by Pierre-Yves Strub on 04 November 2021, 10:00:49 UTC
1 parent 8a26fe5
Raw File
Tip revision: 4da60d2eb0b01b259e9569611fb413fa3618201e authored by Christian Doczkal on 03 November 2021, 15:06:57 UTC
allow sdist-distinguishers for ROs to call sample and set
Tip revision: 4da60d2
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