https://github.com/EasyCrypt/easycrypt
Raw File
Tip revision: f7b8664dcf5237042389e655a2e37b09177167f5 authored by Alley Stoughton on 30 June 2021, 15:32 UTC
Added Above Threshold and Report Noisy Max examples, which check
Tip revision: f7b8664
default.nix
with import <nixpkgs> {};

let why314 = why3.overrideAttrs (x:
   { name = "why3.14";
     src = fetchurl {
       url = "https://gforge.inria.fr/frs/download.php/file/38425/why3-1.4.0.tar.gz";
       sha256 = "0lw0cpx347zz9vvwqibmbxgs80fsd16scgk3isscvwxnajpc3rv8";
      };
     postPatch = "";
   }); in

stdenv.mkDerivation {
  name = "easycrypt-1.0";
  src = ./.;
  buildInputs = [ ]
    ++ (with ocamlPackages; [ ocaml findlib ocamlbuild (batteries.overrideAttrs (o: { doCheck = false; })) menhir merlin zarith inifiles why314 yojson])
    ;
  installFlags = [ "PREFIX=$(out)" ];
}
back to top