https://github.com/EasyCrypt/easycrypt
Raw File
Tip revision: 1c20a6696cd504381a4fec3a1585d8df537f4d30 authored by Pierre-Yves Strub on 17 September 2018, 09:19:30 UTC
fixing / extending simplifications + bug fix
Tip revision: 1c20a66
default.nix
with import <nixpkgs> {};

if !lib.versionAtLeast why3.version "1.4" then
  throw "please update your nixpkgs channel: nix-channel --update"
else
  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)" ];
  }
back to top