2021-01-09 10:05:03 +00:00
|
|
|
{ lib, mkCoqDerivation, coq, version ? null }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
mkCoqDerivation rec {
|
2021-01-09 10:05:03 +00:00
|
|
|
pname = "stdpp";
|
|
|
|
inherit version;
|
|
|
|
domain = "gitlab.mpi-sws.org";
|
|
|
|
owner = "iris";
|
2023-02-02 18:25:31 +00:00
|
|
|
defaultVersion = with lib.versions; lib.switch coq.coq-version [
|
2024-04-21 15:54:59 +00:00
|
|
|
{ case = range "8.18" "8.19"; out = "1.10.0"; }
|
2023-10-19 13:55:26 +00:00
|
|
|
{ case = range "8.16" "8.18"; out = "1.9.0"; }
|
2023-03-30 22:05:00 +00:00
|
|
|
{ case = range "8.13" "8.17"; out = "1.8.0"; }
|
2022-03-05 16:20:37 +00:00
|
|
|
{ case = range "8.12" "8.14"; out = "1.6.0"; }
|
2021-10-14 00:43:12 +00:00
|
|
|
{ case = range "8.11" "8.13"; out = "1.5.0"; }
|
|
|
|
{ case = range "8.8" "8.10"; out = "1.4.0"; }
|
2021-04-12 18:23:04 +00:00
|
|
|
] null;
|
2024-04-21 15:54:59 +00:00
|
|
|
release."1.10.0".sha256 = "sha256-bfynevIKxAltvt76lsqVxBmifFkzEhyX8lRgTKxr21I=";
|
2023-10-19 13:55:26 +00:00
|
|
|
release."1.9.0".sha256 = "sha256-OXeB+XhdyzWMp5Karsz8obp0rTeMKrtG7fu/tmc9aeI=";
|
2022-09-09 14:08:57 +00:00
|
|
|
release."1.8.0".sha256 = "sha256-VkIGBPHevHeHCo/Q759Q7y9WyhSF/4SMht4cOPuAXHU=";
|
2022-03-05 16:20:37 +00:00
|
|
|
release."1.7.0".sha256 = "sha256:0447wbzm23f9rl8byqf6vglasfn6c1wy6cxrrwagqjwsh3i5lx8y";
|
2021-12-06 16:07:01 +00:00
|
|
|
release."1.6.0".sha256 = "1l1w6srzydjg0h3f4krrfgvz455h56shyy2lbcnwdbzjkahibl7v";
|
2021-04-12 18:23:04 +00:00
|
|
|
release."1.5.0".sha256 = "1ym0fy620imah89p8b6rii8clx2vmnwcrbwxl3630h24k42092nf";
|
2021-01-09 10:05:03 +00:00
|
|
|
release."1.4.0".sha256 = "1m6c7ibwc99jd4cv14v3r327spnfvdf3x2mnq51f9rz99rffk68r";
|
|
|
|
releaseRev = v: "coq-stdpp-${v}";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
preBuild = ''
|
|
|
|
if [[ -f coq-lint.sh ]]
|
|
|
|
then patchShebangs coq-lint.sh
|
|
|
|
fi
|
|
|
|
'';
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Extended “Standard Library” for Coq";
|
2021-01-09 10:05:03 +00:00
|
|
|
license = licenses.bsd3;
|
2023-10-19 13:55:26 +00:00
|
|
|
maintainers = [ maintainers.vbgl maintainers.ineol ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|