2021-01-09 10:05:03 +00:00
|
|
|
{ lib, mkCoqDerivation, coq, stdpp, 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 = "iris";
|
|
|
|
domain = "gitlab.mpi-sws.org";
|
|
|
|
owner = "iris";
|
|
|
|
inherit version;
|
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 = "4.2.0"; }
|
2023-10-19 13:55:26 +00:00
|
|
|
{ case = range "8.16" "8.18"; out = "4.1.0"; }
|
2023-08-04 22:07:22 +00:00
|
|
|
{ case = range "8.13" "8.17"; out = "4.0.0"; }
|
2022-03-05 16:20:37 +00:00
|
|
|
{ case = range "8.12" "8.14"; out = "3.5.0"; }
|
2021-10-14 00:43:12 +00:00
|
|
|
{ case = range "8.11" "8.13"; out = "3.4.0"; }
|
|
|
|
{ case = range "8.9" "8.10"; out = "3.3.0"; }
|
2021-04-12 18:23:04 +00:00
|
|
|
] null;
|
2024-04-21 15:54:59 +00:00
|
|
|
release."4.2.0".sha256 = "sha256-HuiHIe+5letgr1NN1biZZFq0qlWUbFmoVI7Q91+UIfM=";
|
2023-10-19 13:55:26 +00:00
|
|
|
release."4.1.0".sha256 = "sha256-nTZUeZOXiH7HsfGbMKDE7vGrNVCkbMaWxdMWUcTUNlo=";
|
2022-09-09 14:08:57 +00:00
|
|
|
release."4.0.0".sha256 = "sha256-Jc9TmgGvkiDaz9IOoExyeryU1E+Q37GN24NIM397/Gg=";
|
2022-03-05 16:20:37 +00:00
|
|
|
release."3.6.0".sha256 = "sha256:02vbq597fjxd5znzxdb54wfp36412wz2d4yash4q8yddgl1kakmj";
|
2021-12-06 16:07:01 +00:00
|
|
|
release."3.5.0".sha256 = "0hh14m0anfcv65rxm982ps2vp95vk9fwrpv4br8bxd9vz0091d70";
|
2021-04-12 18:23:04 +00:00
|
|
|
release."3.4.0".sha256 = "0vdc2mdqn5jjd6yz028c0c6blzrvpl0c7apx6xas7ll60136slrb";
|
2021-01-09 10:05:03 +00:00
|
|
|
release."3.3.0".sha256 = "0az4gkp5m8sq0p73dlh0r7ckkzhk7zkg5bndw01bdsy5ywj0vilp";
|
|
|
|
releaseRev = v: "iris-${v}";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ stdpp ];
|
|
|
|
|
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; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "The Coq development of the Iris Project";
|
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
|
|
|
};
|
|
|
|
}
|