@@ -0,0 +1,30 @@
1+{ stdenv, fetchzip, coq, ssreflect, stdpp }:
2+
3+stdenv.mkDerivation rec {
4+ version = "3.1.0";
5+ name = "coq${coq.coq-version}-iris-${version}";
6+ src = fetchzip {
7+ url = "https://gitlab.mpi-sws.org/FP/iris-coq/-/archive/iris-${version}/iris-coq-iris-${version}.tar.gz";
8+ sha256 = "0ipdb061jj205avxifshxkpyxxqykigmlxk2n5nvxj62gs3rl5j1";
9+ };
10+
11+ buildInputs = [ coq ];
12+ propagatedBuildInputs = [ ssreflect stdpp ];
13+
14+ enableParallelBuilding = true;
15+
16+ installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];
17+
18+ meta = {
19+ homepage = "https://gitlab.mpi-sws.org/FP/iris-coq";
20+ description = "The Coq development of the Iris Project";
21+ inherit (coq.meta) platforms;
22+ license = stdenv.lib.licenses.bsd3;
23+ maintainers = [ stdenv.lib.maintainers.vbgl ];
24+ };
25+
26+ passthru = {
27+ compatibleCoqVersions = v: stdenv.lib.versionAtLeast v "8.6";
28+ };
29+
30+}