https://github.com/EasyCrypt/easycrypt
Revision 50961c724e43827b5a47b94a6c5c68aac271a22d authored by Adrien Koutsos on 08 April 2022, 09:39:43 UTC, committed by Adrien Koutsos on 08 April 2022, 09:41:52 UTC
1 parent 6cabd84
Raw File
Tip revision: 50961c724e43827b5a47b94a6c5c68aac271a22d authored by Adrien Koutsos on 08 April 2022, 09:39:43 UTC
fix: use the functor to retrieve the cost information
Tip revision: 50961c7
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