depot/third_party/nixpkgs/pkgs/development/coq-modules/iris/default.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

33 lines
869 B
Nix

{ stdenv, fetchFromGitLab, coq, stdpp }:
stdenv.mkDerivation rec {
version = "3.3.0";
name = "coq${coq.coq-version}-iris-${version}";
src = fetchFromGitLab {
domain = "gitlab.mpi-sws.org";
owner = "iris";
repo = "iris";
rev = "iris-${version}";
sha256 = "0az4gkp5m8sq0p73dlh0r7ckkzhk7zkg5bndw01bdsy5ywj0vilp";
};
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 = {
compatibleCoqVersions = v: builtins.elem v [ "8.9" "8.10" "8.11" "8.12" ];
};
}