2022-09-11 15:47:08 +00:00
|
|
|
{ lib
|
2023-03-24 00:07:29 +00:00
|
|
|
, fetchurl
|
2022-09-11 15:47:08 +00:00
|
|
|
, buildDunePackage
|
|
|
|
, alcotest
|
|
|
|
, dedukti
|
|
|
|
, bindlib
|
|
|
|
, camlp-streams
|
2022-09-22 12:36:57 +00:00
|
|
|
, cmdliner
|
2022-09-11 15:47:08 +00:00
|
|
|
, menhir
|
|
|
|
, pratter
|
|
|
|
, sedlex
|
|
|
|
, stdlib-shims
|
|
|
|
, timed
|
|
|
|
, why3
|
|
|
|
, yojson
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "lambdapi";
|
2023-03-24 00:07:29 +00:00
|
|
|
version = "2.3.1";
|
2022-09-11 15:47:08 +00:00
|
|
|
|
|
|
|
minimalOCamlVersion = "4.08";
|
2023-03-24 00:07:29 +00:00
|
|
|
duneVersion = "3";
|
2022-09-11 15:47:08 +00:00
|
|
|
|
2023-03-24 00:07:29 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/Deducteam/lambdapi/releases/download/${version}/lambdapi-${version}.tbz";
|
|
|
|
hash = "sha256-7ww2TjVcbEQyfmLnnEhLGAjW4US9a4mdOfDJw6NR1fI=";
|
2022-09-11 15:47:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ menhir ];
|
|
|
|
propagatedBuildInputs = [
|
2022-09-22 12:36:57 +00:00
|
|
|
bindlib camlp-streams cmdliner pratter sedlex stdlib-shims timed why3 yojson
|
2022-09-11 15:47:08 +00:00
|
|
|
];
|
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [ alcotest dedukti ];
|
|
|
|
doCheck = false; # anomaly: Sys_error("/homeless-shelter/.why3.conf: No such file or directory")
|
2022-09-11 15:47:08 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|