https://github.com/EasyCrypt/easycrypt
Revision 664aa8b348957cb110d79ef648f7bd855f39f641 authored by Pierre-Yves Strub on 09 December 2021, 16:00:07 UTC, committed by Pierre-Yves Strub on 09 December 2021, 16:00:07 UTC
2 parent s a725928 + 32abff2
Raw File
Tip revision: 664aa8b348957cb110d79ef648f7bd855f39f641 authored by Pierre-Yves Strub on 09 December 2021, 16:00:07 UTC
Merge branch '1.0' into deploy-cost-1.0-preview
Tip revision: 664aa8b
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