https://github.com/EasyCrypt/easycrypt
Revision ed96ecf5c8315cda53e5668bd2818d7260883488 authored by François Dupressoir on 16 March 2023, 16:21:06 UTC, committed by Pierre-Yves Strub on 20 March 2023, 16:28:35 UTC
this aligns the top-level proof with earlier changes to a leaf theory
1 parent ad96b3d
Tip revision: ed96ecf5c8315cda53e5668bd2818d7260883488 authored by François Dupressoir on 16 March 2023, 16:21:06 UTC
fix a failing proof in MEE-CBC
fix a failing proof in MEE-CBC
Tip revision: ed96ecf
default.nix
{ withProvers ? false, 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
stdenv.mkDerivation {
pname = "easycrypt";
version = "git";
src = ./.;
buildInputs = [ git ] ++ (with ocamlPackages; [
ocaml
findlib
batteries
camlp-streams
dune_3
dune-build-info
dune-site
inifiles
menhir
menhirLib
yojson
why3
zarith
]);
propagatedBuildInputs = [ why3 ]
++ devDeps
++ provers;
installPhase = ''
runHook preInstall
dune install --prefix $out -p $pname
runHook postInstall
'';
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...