@@ -0,0 +1,50 @@
1+{ lib, stdenv, fetchFromGitHub, ocamlPackages, why3 }:
3+stdenv.mkDerivation rec {
7+ src = fetchFromGitHub {
11+ sha256 = "sha256:09rdwcj70lkamkhd895p284rfpz4bcnsf55mcimhiqncd2a21ml7";
14+ nativeBuildInputs = with ocamlPackages; [
20+ buildInputs = with ocamlPackages; [
28+ propagatedBuildInputs = [ why3 ];
33+ substituteInPlace dune-project --replace '(name easycrypt)' '(name easycrypt)(version ${version})'
38+ dune install --prefix $out ${pname}
39+ rm $out/bin/ec-runtest
44+ license = lib.licenses.mit;
45+ maintainers = [ lib.maintainers.vbgl ];
46+ platforms = lib.platforms.all;
47+ homepage = "https://easycrypt.info/";
48+ description = "Computer-Aided Cryptographic Proofs";