https://github.com/EasyCrypt/easycrypt
Revision 02082bdbbf69df78618d57f0eed3dac295cc8af7 authored by Pierre-Yves Strub on 17 November 2021, 06:22:22 UTC, committed by Pierre-Yves Strub on 17 November 2021, 06:22:22 UTC
1 parent e7d401f
Raw File
Tip revision: 02082bdbbf69df78618d57f0eed3dac295cc8af7 authored by Pierre-Yves Strub on 17 November 2021, 06:22:22 UTC
Update copyright
Tip revision: 02082bd
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