https://github.com/EasyCrypt/easycrypt
Revision 2d05f8b8085d79c102ce5a682084d9dea0e12813 authored by Pierre-Yves Strub on 11 December 2018, 16:24:53 UTC, committed by Pierre-Yves Strub on 11 December 2018, 16:24:53 UTC
1 parent ed7bf6c
Raw File
Tip revision: 2d05f8b8085d79c102ce5a682084d9dea0e12813 authored by Pierre-Yves Strub on 11 December 2018, 16:24:53 UTC
async-while: example for nested loops
Tip revision: 2d05f8b
default.nix
with import <nixpkgs> {};

let why3_for_ec = stdenv.lib.overrideDerivation why3 (o: {
  name = "why3-0.87.3";
  src = fetchurl {
    url = "https://gforge.inria.fr/frs/download.php/file/36398/why3-0.87.3.tar.gz";
    sha256 = "1fn9v6w1ilkrm2n4rz31w8qvjnchyvwxiqs67z3f59b5k99wb2ka";
  };
});
in

stdenv.mkDerivation {
  name = "easycrypt-1.0";
  src = ./.;
  buildInputs = [ ]
    ++ (with ocamlPackages; [ ocaml findlib ocamlbuild batteries menhir merlin zarith inifiles why3_for_ec ])
    ;
}
back to top