https://github.com/EasyCrypt/easycrypt
Revision 25f8ab82f1f0e474b173c7b4189585aa3205a37d authored by Christian Doczkal on 17 June 2021, 16:05:31 UTC, committed by Christian Doczkal on 03 December 2021, 13:59:52 UTC
1 parent 1500e2c
Raw File
Tip revision: 25f8ab82f1f0e474b173c7b4189585aa3205a37d authored by Christian Doczkal on 17 June 2021, 16:05:31 UTC
fix definitions, Real_Real
Tip revision: 25f8ab8
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