https://github.com/EasyCrypt/easycrypt
Revision 74a4d0204bc252bf45b6597ff76729044cc035d1 authored by Pierre-Yves Strub on 30 March 2022, 09:20:02 UTC, committed by Pierre-Yves Strub on 22 April 2022, 06:59:36 UTC
1 parent 2c53183
Raw File
Tip revision: 74a4d0204bc252bf45b6597ff76729044cc035d1 authored by Pierre-Yves Strub on 30 March 2022, 09:20:02 UTC
Fixing list of authors
Tip revision: 74a4d02
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