aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/coq-modules
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2019-02-03 13:44:37 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2019-02-09 12:33:02 +0100
commitbafa15f1451d4a7a8f161baf005430da45f151d5 (patch)
tree3facc9ae5e1cead3c27a864866d2192b09d22e24 /pkgs/development/coq-modules
parent590e07779c47db8f71903eaac580ff55098c264f (diff)
coqPackages.mathcomp-finmap: init at 1.1.0
Diffstat (limited to 'pkgs/development/coq-modules')
-rw-r--r--pkgs/development/coq-modules/mathcomp-finmap/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/coq-modules/mathcomp-finmap/default.nix b/pkgs/development/coq-modules/mathcomp-finmap/default.nix
new file mode 100644
index 00000000000..a5d0d006a38
--- /dev/null
+++ b/pkgs/development/coq-modules/mathcomp-finmap/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchFromGitHub, coq, mathcomp }:
+
+stdenv.mkDerivation rec {
+ version = "1.1.0";
+ name = "coq${coq.coq-version}-mathcomp-finmap-${version}";
+
+ src = fetchFromGitHub {
+ owner = "math-comp";
+ repo = "finmap";
+ rev = version;
+ sha256 = "05df59v3na8jhpsfp7hq3niam6asgcaipg2wngnzxzqnl86srp2a";
+ };
+
+ buildInputs = [ coq ];
+ propagatedBuildInputs = [ mathcomp ];
+
+ installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
+
+ meta = {
+ description = "A finset and finmap library";
+ inherit (src.meta) homepage;
+ inherit (mathcomp.meta) platforms license;
+ maintainers = [ stdenv.lib.maintainers.vbgl ];
+ };
+
+ passthru = {
+ compatibleCoqVersions = v: builtins.elem v [ "8.6" "8.7" "8.8" ];
+ };
+}