https://github.com/EasyCrypt/easycrypt
Revision a54cec2bb1fd75d6e87e18a8b9c4bc602e3eba02 authored by Pierre-Yves Strub on 17 November 2021, 05:52:23 UTC, committed by Pierre-Yves Strub on 17 November 2021, 05:52:23 UTC
1 parent b7a2ee2
Raw File
Tip revision: a54cec2bb1fd75d6e87e18a8b9c4bc602e3eba02 authored by Pierre-Yves Strub on 17 November 2021, 05:52:23 UTC
remove deprecated functions and reenable warning 3
Tip revision: a54cec2
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
      inifiles
      menhir
      menhirLib
      merlin
      yojson
      zarith
    ]);
    installFlags = [ "PREFIX=$(out)" ];
  }
back to top