Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
30 lines
743 B
Nix
30 lines
743 B
Nix
{
|
|
coq,
|
|
findutils,
|
|
lib,
|
|
mkCoqDerivation,
|
|
version ? null,
|
|
}:
|
|
|
|
mkCoqDerivation {
|
|
pname = "coqutil";
|
|
owner = "mit-plv";
|
|
|
|
inherit version;
|
|
defaultVersion = with lib.versions; lib.switch coq.version [
|
|
{ case = range "8.18" "8.20"; out = "0.0.6"; }
|
|
{ case = range "8.17" "8.20"; out = "0.0.5"; }
|
|
] null;
|
|
|
|
releaseRev = v: "v${v}";
|
|
release."0.0.6".sha256 = "sha256-c/ddrj0ahuaj9Zu7YBqK7Q0ur+LK7Fgaa//nxQpQcm4=";
|
|
release."0.0.5".sha256 = "sha256-vkZIAAr82GNuCGlCVRgSCj/nqIdD8FITBiX1a8fybqw=";
|
|
|
|
nativeBuildInputs = [ findutils ];
|
|
|
|
meta = {
|
|
description = "Coq library for tactics, basic definitions, sets, maps";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ stepbrobd ];
|
|
};
|
|
}
|