2020-08-28 21:05:46 +00:00
|
|
|
{ lib, mkCoqDerivation, coq, stdpp, version ? null }:
|
2018-05-22 17:26:32 +00:00
|
|
|
|
2020-08-28 21:05:46 +00:00
|
|
|
with lib; mkCoqDerivation rec {
|
|
|
|
pname = "iris";
|
|
|
|
domain = "gitlab.mpi-sws.org";
|
|
|
|
owner = "iris";
|
|
|
|
inherit version;
|
2021-04-05 13:17:16 +00:00
|
|
|
defaultVersion = with versions; switch coq.coq-version [
|
2022-02-17 05:47:03 +00:00
|
|
|
{ case = range "8.13" "8.15"; out = "3.6.0"; }
|
|
|
|
{ case = range "8.12" "8.14"; out = "3.5.0"; }
|
2021-09-27 19:52:40 +00:00
|
|
|
{ case = range "8.11" "8.13"; out = "3.4.0"; }
|
|
|
|
{ case = range "8.9" "8.10"; out = "3.3.0"; }
|
2021-04-05 13:17:16 +00:00
|
|
|
] null;
|
2022-02-17 05:47:03 +00:00
|
|
|
release."3.6.0".sha256 = "sha256:02vbq597fjxd5znzxdb54wfp36412wz2d4yash4q8yddgl1kakmj";
|
2021-11-14 11:21:54 +00:00
|
|
|
release."3.5.0".sha256 = "0hh14m0anfcv65rxm982ps2vp95vk9fwrpv4br8bxd9vz0091d70";
|
2021-04-05 13:17:16 +00:00
|
|
|
release."3.4.0".sha256 = "0vdc2mdqn5jjd6yz028c0c6blzrvpl0c7apx6xas7ll60136slrb";
|
2020-08-28 21:05:46 +00:00
|
|
|
release."3.3.0".sha256 = "0az4gkp5m8sq0p73dlh0r7ckkzhk7zkg5bndw01bdsy5ywj0vilp";
|
|
|
|
releaseRev = v: "iris-${v}";
|
2018-05-22 17:26:32 +00:00
|
|
|
|
2019-08-30 12:36:30 +00:00
|
|
|
propagatedBuildInputs = [ stdpp ];
|
2018-05-22 17:26:32 +00:00
|
|
|
|
2021-11-14 11:21:54 +00:00
|
|
|
preBuild = ''
|
|
|
|
if [[ -f coq-lint.sh ]]
|
|
|
|
then patchShebangs coq-lint.sh
|
|
|
|
fi
|
|
|
|
'';
|
|
|
|
|
2018-05-22 17:26:32 +00:00
|
|
|
meta = {
|
|
|
|
description = "The Coq development of the Iris Project";
|
2020-08-28 21:05:46 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.vbgl ];
|
2018-05-22 17:26:32 +00:00
|
|
|
};
|
|
|
|
}
|