1 { lib, mkCoqDerivation, coq, version ? null }:
6 domain = "gitlab.mpi-sws.org";
8 defaultVersion = with lib.versions; lib.switch coq.coq-version [
9 { case = range "8.18" "8.19"; out = "1.10.0"; }
10 { case = range "8.16" "8.18"; out = "1.9.0"; }
11 { case = range "8.13" "8.17"; out = "1.8.0"; }
12 { case = range "8.12" "8.14"; out = "1.6.0"; }
13 { case = range "8.11" "8.13"; out = "1.5.0"; }
14 { case = range "8.8" "8.10"; out = "1.4.0"; }
16 release."1.10.0".sha256 = "sha256-bfynevIKxAltvt76lsqVxBmifFkzEhyX8lRgTKxr21I=";
17 release."1.9.0".sha256 = "sha256-OXeB+XhdyzWMp5Karsz8obp0rTeMKrtG7fu/tmc9aeI=";
18 release."1.8.0".sha256 = "sha256-VkIGBPHevHeHCo/Q759Q7y9WyhSF/4SMht4cOPuAXHU=";
19 release."1.7.0".sha256 = "sha256:0447wbzm23f9rl8byqf6vglasfn6c1wy6cxrrwagqjwsh3i5lx8y";
20 release."1.6.0".sha256 = "1l1w6srzydjg0h3f4krrfgvz455h56shyy2lbcnwdbzjkahibl7v";
21 release."1.5.0".sha256 = "1ym0fy620imah89p8b6rii8clx2vmnwcrbwxl3630h24k42092nf";
22 release."1.4.0".sha256 = "1m6c7ibwc99jd4cv14v3r327spnfvdf3x2mnq51f9rz99rffk68r";
23 releaseRev = v: "coq-stdpp-${v}";
26 if [[ -f coq-lint.sh ]]
27 then patchShebangs coq-lint.sh
32 description = "An extended “Standard Library” for Coq";
33 license = licenses.bsd3;
34 maintainers = [ maintainers.vbgl maintainers.ineol ];