summary refs log tree commit diff
path: root/pkgs/development/coq-modules/math-classes/default.nix
diff options
context:
space:
mode:
authorLangston Barrett <langston.barrett@gmail.com>2017-01-25 21:55:43 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2017-01-27 11:16:30 +0000
commitd486fb053b3f148e5989d6cd3e07a69eaf75d0bf (patch)
treeeecf4d9ed446e557ce2c2a643fd692cb6d2f3884 /pkgs/development/coq-modules/math-classes/default.nix
parenta35373f5842389cf2b6dc51d4e8166bd44beface (diff)
downloadnixlib-d486fb053b3f148e5989d6cd3e07a69eaf75d0bf.tar
nixlib-d486fb053b3f148e5989d6cd3e07a69eaf75d0bf.tar.gz
nixlib-d486fb053b3f148e5989d6cd3e07a69eaf75d0bf.tar.bz2
nixlib-d486fb053b3f148e5989d6cd3e07a69eaf75d0bf.tar.lz
nixlib-d486fb053b3f148e5989d6cd3e07a69eaf75d0bf.tar.xz
nixlib-d486fb053b3f148e5989d6cd3e07a69eaf75d0bf.tar.zst
nixlib-d486fb053b3f148e5989d6cd3e07a69eaf75d0bf.zip
coqPackages.math-classes: init at 2016-06-08
Diffstat (limited to 'pkgs/development/coq-modules/math-classes/default.nix')
-rw-r--r--pkgs/development/coq-modules/math-classes/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/coq-modules/math-classes/default.nix b/pkgs/development/coq-modules/math-classes/default.nix
new file mode 100644
index 000000000000..e12327a347f4
--- /dev/null
+++ b/pkgs/development/coq-modules/math-classes/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, fetchFromGitHub, coq }:
+
+stdenv.mkDerivation {
+  name = "coq${coq.coq-version}-math-classes-2016-06-08";
+
+  src = fetchFromGitHub {
+    owner  = "math-classes";
+    repo   = "math-classes";
+    rev    = "751e63b260bd2f78b280f2566c08a18034bd40b3";
+    sha256 = "0kjc2wzb6n9hcqb2ijx2pckn8jk5g09crrb87yb4s9m0mrw79smr";
+  };
+
+  buildInputs = [ coq ];
+  enableParallelBuilding = true;
+  installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
+
+  meta = with stdenv.lib; {
+    homepage = https://math-classes.github.io;
+    description = "A library of abstract interfaces for mathematical structures in Coq.";
+    maintainers = with maintainers; [ siddharthist ];
+    platforms = coq.meta.platforms;
+  };
+}