Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

36 lines
749 B
Nix

{
lib,
mkCoqDerivation,
coq,
version ? null,
}:
(mkCoqDerivation {
pname = "metalib";
owner = "plclub";
inherit version;
defaultVersion =
with lib.versions;
lib.switch coq.coq-version [
{
case = range "8.14" "8.18";
out = "8.15";
}
{
case = range "8.10" "8.13";
out = "8.10";
}
] null;
releaseRev = v: "coq${v}";
release."8.15".sha256 = "0wbp058zwa4bkdjj38aysy2g1avf9nrh8q23a3dil0q00qczi616";
release."8.10".sha256 = "0wbypc05d2lqfm9qaw98ynr5yc1p0ipsvyc3bh1rk9nz7zwirmjs";
meta = with lib; {
license = licenses.mit;
maintainers = [ maintainers.jwiegley ];
};
}).overrideAttrs
(oldAttrs: {
sourceRoot = "${oldAttrs.src.name}/Metalib";
})