https://github.com/EasyCrypt/easycrypt
Revision 6c65d070ebf1fc9b7ac0621bc5ad96a495b2a349 authored by Pierre Boutry on 06 July 2021, 05:31:34 UTC, committed by Christian Doczkal on 03 December 2021, 13:59:53 UTC
1 parent bac9061
Raw File
Tip revision: 6c65d070ebf1fc9b7ac0621bc5ad96a495b2a349 authored by Pierre Boutry on 06 July 2021, 05:31:34 UTC
cleanup
Tip revision: 6c65d07
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