2019-08-30 12:36:30 +00:00
|
|
|
{ stdenv, fetchFromGitLab, coq, stdpp }:
|
2018-05-22 17:26:32 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-08-09 05:30:55 +00:00
|
|
|
version = "3.3.0";
|
2018-05-22 17:26:32 +00:00
|
|
|
name = "coq${coq.coq-version}-iris-${version}";
|
2019-08-30 12:36:30 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.mpi-sws.org";
|
|
|
|
owner = "iris";
|
|
|
|
repo = "iris";
|
|
|
|
rev = "iris-${version}";
|
2020-08-09 05:30:55 +00:00
|
|
|
sha256 = "0az4gkp5m8sq0p73dlh0r7ckkzhk7zkg5bndw01bdsy5ywj0vilp";
|
2018-05-22 17:26:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ coq ];
|
2019-08-30 12:36:30 +00:00
|
|
|
propagatedBuildInputs = [ stdpp ];
|
2018-05-22 17:26:32 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://gitlab.mpi-sws.org/FP/iris-coq";
|
|
|
|
description = "The Coq development of the Iris Project";
|
|
|
|
inherit (coq.meta) platforms;
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
2020-08-09 05:30:55 +00:00
|
|
|
compatibleCoqVersions = v: builtins.elem v [ "8.9" "8.10" "8.11" "8.12" ];
|
2018-05-22 17:26:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|