https://github.com/EasyCrypt/easycrypt
Revision fe9a17135eeef180b23922a06d5ce62d747aae7f authored by Francois Dupressoir on 03 December 2021, 05:08:44 UTC, committed by Pierre-Yves Strub on 03 December 2021, 05:09:09 UTC
1 parent 541aa08
Raw File
Tip revision: fe9a17135eeef180b23922a06d5ce62d747aae7f authored by Francois Dupressoir on 03 December 2021, 05:08:44 UTC
Update ci.yml
Tip revision: fe9a171
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