2020-08-28 23:05:46 +02:00
|
|
|
{ lib, mkCoqDerivation, coq, version ? null }:
|
2017-11-12 18:34:06 +01:00
|
|
|
|
2020-08-28 23:05:46 +02:00
|
|
|
with lib; mkCoqDerivation {
|
|
|
|
pname = "metalib";
|
|
|
|
owner = "plclub";
|
|
|
|
inherit version;
|
2021-05-07 08:38:46 +02:00
|
|
|
defaultVersion = if versions.range "8.10" "8.13" coq.coq-version then "20200527" else null;
|
2020-08-28 23:05:46 +02:00
|
|
|
release."20200527".rev = "597fd7d0c93eb159274e84a39d554f10f1efccf8";
|
|
|
|
release."20200527".sha256 = "0wbypc05d2lqfm9qaw98ynr5yc1p0ipsvyc3bh1rk9nz7zwirmjs";
|
2017-11-12 18:34:06 +01:00
|
|
|
|
2020-09-16 08:41:44 +02:00
|
|
|
sourceRoot = "source/Metalib";
|
|
|
|
installFlags = "COQMF_COQLIB=$(out)/lib/coq/${coq.coq-version}";
|
2017-11-12 18:34:06 +01:00
|
|
|
|
2020-08-28 23:05:46 +02:00
|
|
|
meta = {
|
2017-11-12 18:34:06 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.jwiegley ];
|
2017-12-15 20:52:16 +01:00
|
|
|
};
|
2017-11-12 18:34:06 +01:00
|
|
|
}
|