2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchFromGitLab, coq, stdpp }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "3.3.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
name = "coq${coq.coq-version}-iris-${version}";
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.mpi-sws.org";
|
|
|
|
owner = "iris";
|
|
|
|
repo = "iris";
|
|
|
|
rev = "iris-${version}";
|
2020-08-20 17:08:02 +00:00
|
|
|
sha256 = "0az4gkp5m8sq0p73dlh0r7ckkzhk7zkg5bndw01bdsy5ywj0vilp";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ coq ];
|
|
|
|
propagatedBuildInputs = [ stdpp ];
|
|
|
|
|
|
|
|
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-20 17:08:02 +00:00
|
|
|
compatibleCoqVersions = v: builtins.elem v [ "8.9" "8.10" "8.11" "8.12" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|