summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2014-11-12 14:37:25 -0600
committerJohn Wiegley <johnw@newartisans.com>2014-11-12 14:37:25 -0600
commit38ab111dd77290a95708ab771e2952f8d8e6f8df (patch)
tree0549179a9ba5bf220f9a5128f9957eacf1d7ba60
parentad2160f9b4fcc7f7bd1ffb9929c80d6bdd985ecd (diff)
downloadnixlib-38ab111dd77290a95708ab771e2952f8d8e6f8df.tar
nixlib-38ab111dd77290a95708ab771e2952f8d8e6f8df.tar.gz
nixlib-38ab111dd77290a95708ab771e2952f8d8e6f8df.tar.bz2
nixlib-38ab111dd77290a95708ab771e2952f8d8e6f8df.tar.lz
nixlib-38ab111dd77290a95708ab771e2952f8d8e6f8df.tar.xz
nixlib-38ab111dd77290a95708ab771e2952f8d8e6f8df.tar.zst
nixlib-38ab111dd77290a95708ab771e2952f8d8e6f8df.zip
coqPackages.unimath: new expression
-rw-r--r--pkgs/development/coq-modules/unimath/default.nix26
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/coq-modules/unimath/default.nix b/pkgs/development/coq-modules/unimath/default.nix
new file mode 100644
index 000000000000..e16156dec530
--- /dev/null
+++ b/pkgs/development/coq-modules/unimath/default.nix
@@ -0,0 +1,26 @@
+{stdenv, fetchgit, coq}:
+
+stdenv.mkDerivation rec {
+
+  name = "coq-unimath-${coq.coq-version}-${version}";
+  version = "a2714eca";
+
+  src = fetchgit {
+    url = git://github.com/UniMath/UniMath.git;
+    rev = "a2714eca29444a595cd280ea961ec33d17712009";
+    sha256 = "0brhbslx4sxl8m9nxjbdl91gi99vcrikykl6b00f4cx5ww43csln";
+  };
+
+  buildInputs = [ coq.ocaml coq.camlp5 ];
+  propagatedBuildInputs = [ coq ];
+
+  installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/UniMath/UniMath;
+    description = "UniMath aims to formalize a substantial body of mathematics using the univalent point of view.";
+    maintainers = with maintainers; [ jwiegley ];
+    platforms = coq.meta.platforms;
+  };
+
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index de9e178516fd..5642cb3cb48b 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -12037,6 +12037,8 @@ let
 
     tlc = callPackage ../development/coq-modules/tlc {};
 
+    unimath = callPackage ../development/coq-modules/unimath {};
+
     ynot = callPackage ../development/coq-modules/ynot {};
 
   };