567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
62 lines
1.2 KiB
Nix
62 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
fetchurl,
|
|
buildDunePackage,
|
|
alcotest,
|
|
dedukti,
|
|
camlp-streams,
|
|
cmdliner,
|
|
dream,
|
|
lwt_ppx,
|
|
menhir,
|
|
pratter,
|
|
sedlex,
|
|
stdlib-shims,
|
|
timed,
|
|
why3,
|
|
yojson,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "lambdapi";
|
|
version = "3.0.0";
|
|
|
|
minimalOCamlVersion = "4.14";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/Deducteam/lambdapi/releases/download/${version}/lambdapi-${version}.tbz";
|
|
hash = "sha256-EGau0mGP2OakAMUUfb9V6pd86NP+LlGKxnhcZ3WhuL4=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
dream
|
|
menhir
|
|
];
|
|
buildInputs = [ lwt_ppx ];
|
|
propagatedBuildInputs = [
|
|
camlp-streams
|
|
cmdliner
|
|
dream
|
|
pratter
|
|
sedlex
|
|
stdlib-shims
|
|
timed
|
|
why3
|
|
yojson
|
|
];
|
|
|
|
checkInputs = [
|
|
alcotest
|
|
dedukti
|
|
];
|
|
doCheck = false; # anomaly: Sys_error("/homeless-shelter/.why3.conf: No such file or directory")
|
|
|
|
meta = {
|
|
homepage = "https://github.com/Deducteam/lambdapi";
|
|
description = "Proof assistant based on the λΠ-calculus modulo rewriting";
|
|
license = lib.licenses.cecill21;
|
|
changelog = "https://github.com/Deducteam/lambdapi/raw/${version}/CHANGES.md";
|
|
maintainers = with lib.maintainers; [ bcdarwin ];
|
|
};
|
|
}
|