https://github.com/EasyCrypt/easycrypt
Revision 236a7c73e646c71bdb9278cfa7c8895f4f9dfbeb authored by Adrien Koutsos on 14 April 2023, 15:24:55 UTC, committed by Adrien Koutsos on 14 April 2023, 15:24:55 UTC
1 parent 3dc5e47
Tip revision: 236a7c73e646c71bdb9278cfa7c8895f4f9dfbeb authored by Adrien Koutsos on 14 April 2023, 15:24:55 UTC
[cost v2] fixed substitution bug
[cost v2] fixed substitution bug
Tip revision: 236a7c7
shell.nix
{ withProvers ? true, devDeps ? [] }:
with import <nixpkgs> {};
let why3_local =
why3.overrideAttrs (o : rec {
version = "1.6.0";
src = fetchurl {
url = "https://why3.gitlabpages.inria.fr/releases/${o.pname}-${version}.tar.gz";
sha256 = "sha256-hFvM6kHScaCtcHCc6Vezl9CR7BFbiKPoTEh7kj0ZJxw=";
};
});
in
let why3 = why3_local; in
let provers =
if withProvers then [
alt-ergo
z3
] else []; in
pkgs.mkShell {
buildInputs = devDeps ++ [ git ] ++ (with ocamlPackages; [
ocaml
findlib
batteries
camlp-streams
dune_3
dune-build-info
dune-site
inifiles
menhir
menhirLib
merlin
yojson
why3
zarith
]) ++ (with python3Packages; [
pyyaml
]);
}
Computing file changes ...