2021-01-09 10:05:03 +00:00
|
|
|
{ lib, mkCoqDerivation, coq, version ? null }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
(mkCoqDerivation {
|
2021-01-09 10:05:03 +00:00
|
|
|
pname = "metalib";
|
|
|
|
owner = "plclub";
|
|
|
|
inherit version;
|
2023-02-02 18:25:31 +00:00
|
|
|
defaultVersion = with lib.versions; lib.switch coq.coq-version [
|
2023-04-29 16:46:19 +00:00
|
|
|
{ case = range "8.14" "8.17"; out = "8.15"; }
|
2022-04-27 09:35:20 +00:00
|
|
|
{ case = range "8.10" "8.13"; out = "8.10"; }
|
|
|
|
] null;
|
|
|
|
releaseRev = v: "coq${v}";
|
|
|
|
release."8.15".sha256 = "0wbp058zwa4bkdjj38aysy2g1avf9nrh8q23a3dil0q00qczi616";
|
|
|
|
release."8.10".sha256 = "0wbypc05d2lqfm9qaw98ynr5yc1p0ipsvyc3bh1rk9nz7zwirmjs";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.jwiegley ];
|
|
|
|
};
|
2023-08-04 22:07:22 +00:00
|
|
|
}).overrideAttrs (oldAttrs: {
|
|
|
|
sourceRoot = "${oldAttrs.src.name}/Metalib";
|
|
|
|
})
|