https://github.com/EasyCrypt/easycrypt
Revision e45a54c433f974412042dfa075a29de639ed8d3c authored by Adrien Koutsos on 20 May 2022, 13:26:31 UTC, committed by Pierre-Yves Strub on 20 May 2022, 14:00:39 UTC
1 parent 90826b1
Tip revision: e45a54c433f974412042dfa075a29de639ed8d3c authored by Adrien Koutsos on 20 May 2022, 13:26:31 UTC
smt option to dump a smt query to a file
smt option to dump a smt query to a file
Tip revision: e45a54c
default.nix
with import <nixpkgs> {};
if !lib.versionAtLeast why3.version "1.4" then
throw "please update your nixpkgs channel: nix-channel --update"
else
let why3_local =
if !lib.versionAtLeast why3.version "1.5" then
why3.overrideAttrs (o: rec {
version = "1.5.0";
src = fetchurl {
url = "https://why3.gitlabpages.inria.fr/releases/${o.pname}-${version}.tar.gz";
sha256 = "sha256:0qjh49pyqmg3xi09fn4lyzz23i6h18y9sgc8ayscvx3bwr3vcqhr";
};
})
else why3
; in
let why3 = why3_local; in
stdenv.mkDerivation {
name = "easycrypt-1.0";
src = ./.;
buildInputs = [ why3 ] ++ (with ocamlPackages; [
ocaml
findlib
batteries
dune_2
dune-build-info
dune-site
inifiles
menhir
menhirLib
merlin
yojson
zarith
]);
installFlags = [ "PREFIX=$(out)" ];
}
Computing file changes ...