https://github.com/EasyCrypt/easycrypt
Revision 53651e19c91faaeff9d1a69a94352f2662c01e11 authored by Pierre-Yves Strub on 28 March 2022, 16:59:08 UTC, committed by Adrien Koutsos on 26 April 2022, 16:29:04 UTC
1 parent 5dd9a9c
Raw File
Tip revision: 53651e19c91faaeff9d1a69a94352f2662c01e11 authored by Pierre-Yves Strub on 28 March 2022, 16:59:08 UTC
[build]: [dune]: auto-generation of theories/dune
Tip revision: 53651e1
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