Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
20 lines
495 B
Nix
20 lines
495 B
Nix
{ lib, mkCoqDerivation, coq, version ? null }:
|
|
|
|
mkCoqDerivation {
|
|
pname = "LibHyps";
|
|
owner = "Matafou";
|
|
inherit version;
|
|
defaultVersion = if (lib.versions.range "8.11" "8.20") coq.version then "2.0.8" else null;
|
|
release = {
|
|
"2.0.8".sha256 = "sha256-u8T7ZWfgYNFBsIPss0uUS0oBvdlwPp3t5yYIMjYzfLc=";
|
|
};
|
|
|
|
configureScript = "./configure.sh";
|
|
|
|
releaseRev = (v: "libhyps-${v}");
|
|
|
|
meta = {
|
|
description = "Hypotheses manipulation library";
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|