2019-08-30 13:36:30 +01:00
|
|
|
{ stdenv, fetchFromGitLab, coq, stdpp }:
|
2018-05-22 18:26:32 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-30 13:36:30 +01:00
|
|
|
version = "3.2.0";
|
2018-05-22 18:26:32 +01:00
|
|
|
name = "coq${coq.coq-version}-iris-${version}";
|
2019-08-30 13:36:30 +01:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.mpi-sws.org";
|
|
|
|
owner = "iris";
|
|
|
|
repo = "iris";
|
|
|
|
rev = "iris-${version}";
|
|
|
|
sha256 = "10dfi7qx6j5w6kbmbrf05xh18jwxr9iz5g7y0f6157msgvl081xs";
|
2018-05-22 18:26:32 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ coq ];
|
2019-08-30 13:36:30 +01:00
|
|
|
propagatedBuildInputs = [ stdpp ];
|
2018-05-22 18:26:32 +01: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 = {
|
2019-08-30 13:36:30 +01:00
|
|
|
compatibleCoqVersions = v: builtins.elem v [ "8.7" "8.8" "8.9" "8.10" ];
|
2018-05-22 18:26:32 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|