3a4df29a92
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
21 lines
623 B
Nix
21 lines
623 B
Nix
{ lib, mkCoqDerivation, coq, version ? null }:
|
|
|
|
with lib; mkCoqDerivation {
|
|
pname = "metalib";
|
|
owner = "plclub";
|
|
inherit version;
|
|
defaultVersion = with versions; switch coq.coq-version [
|
|
{ case = range "8.14" "8.16"; 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";
|
|
|
|
sourceRoot = "source/Metalib";
|
|
|
|
meta = {
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.jwiegley ];
|
|
};
|
|
}
|