https://github.com/EasyCrypt/easycrypt
Revision f7c671ccf4511d986d4d7aa22bfdc18a97b01374 authored by Pierre-Yves Strub on 16 November 2021, 14:14:36 UTC, committed by Pierre-Yves Strub on 16 November 2021, 17:35:05 UTC
1 parent 5334126
Raw File
Tip revision: f7c671ccf4511d986d4d7aa22bfdc18a97b01374 authored by Pierre-Yves Strub on 16 November 2021, 14:14:36 UTC
[build] use dune in Makefile
Tip revision: f7c671c
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