https://github.com/EasyCrypt/easycrypt
Revision ca2e7c8e828fda82055546f59fd7951724180868 authored by Christian Doczkal on 09 May 2022, 14:31:24 UTC, committed by Christian Doczkal on 09 May 2022, 14:31:24 UTC
1 parent 9b703ad
Raw File
Tip revision: ca2e7c8e828fda82055546f59fd7951724180868 authored by Christian Doczkal on 09 May 2022, 14:31:24 UTC
fsize and fcoll_bound for PROM
Tip revision: ca2e7c8
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