diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/lambdapi/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/lambdapi/default.nix | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/lambdapi/default.nix b/pkgs/development/ocaml-modules/lambdapi/default.nix new file mode 100644 index 000000000000..5827c5d4b7a5 --- /dev/null +++ b/pkgs/development/ocaml-modules/lambdapi/default.nix @@ -0,0 +1,46 @@ +{ lib +, fetchFromGitHub +, buildDunePackage +, alcotest +, dedukti +, bindlib +, camlp-streams +, cmdliner_1_1 +, menhir +, pratter +, sedlex +, stdlib-shims +, timed +, why3 +, yojson +}: + +buildDunePackage rec { + pname = "lambdapi"; + version = "2.2.1"; + + minimalOCamlVersion = "4.08"; + + src = fetchFromGitHub { + owner = "Deducteam"; + repo = pname; + rev = version; + hash = "sha256-p2ZjSfiZwkf8X4fSNJx7bAVpTFl4UBHIEANIWF7NGCs="; + }; + + nativeBuildInputs = [ menhir ]; + propagatedBuildInputs = [ + bindlib camlp-streams cmdliner_1_1 pratter sedlex stdlib-shims timed why3 yojson + ]; + + checkInputs = [ alcotest dedukti ]; + doCheck = false; # "Error: Unbound module Cmd" + + meta = with lib; { + homepage = "https://github.com/Deducteam/lambdapi"; + description = "Proof assistant based on the λΠ-calculus modulo rewriting"; + license = licenses.cecill21; + changelog = "https://github.com/Deducteam/lambdapi/raw/${version}/CHANGES.md"; + maintainers = with maintainers; [ bcdarwin ]; + }; +} |