https://github.com/EasyCrypt/easycrypt
Revision f1d2f19fc76febe0e7d18fc509110ee08a37a301 authored by Christian Doczkal on 21 October 2021, 09:05:24 UTC, committed by Pierre-Yves Strub on 04 November 2021, 10:00:49 UTC
1 parent 051cb1d
Raw File
Tip revision: f1d2f19fc76febe0e7d18fc509110ee08a37a301 authored by Christian Doczkal on 21 October 2021, 09:05:24 UTC
use PROM rather than ROM
Tip revision: f1d2f19
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 ocamlbuild batteries menhir menhirLib merlin zarith inifiles yojson])
    ;
  installFlags = [ "PREFIX=$(out)" ];
}
back to top