summary refs log tree commit diff
path: root/pkgs/development/coq-modules
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2019-02-03 13:44:29 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2019-02-09 12:33:02 +0100
commit590e07779c47db8f71903eaac580ff55098c264f (patch)
treec9bde60a72c9defc0b081790a23f45c81c5b29c9 /pkgs/development/coq-modules
parent5211cb0ccce4e323b54915e962697551038273fb (diff)
downloadnixpkgs-590e07779c47db8f71903eaac580ff55098c264f.tar
nixpkgs-590e07779c47db8f71903eaac580ff55098c264f.tar.gz
nixpkgs-590e07779c47db8f71903eaac580ff55098c264f.tar.bz2
nixpkgs-590e07779c47db8f71903eaac580ff55098c264f.tar.lz
nixpkgs-590e07779c47db8f71903eaac580ff55098c264f.tar.xz
nixpkgs-590e07779c47db8f71903eaac580ff55098c264f.tar.zst
nixpkgs-590e07779c47db8f71903eaac580ff55098c264f.zip
coqPackages.mathcomp-bigenough: init at 1.0.0
Diffstat (limited to 'pkgs/development/coq-modules')
-rw-r--r--pkgs/development/coq-modules/mathcomp-bigenough/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/coq-modules/mathcomp-bigenough/default.nix b/pkgs/development/coq-modules/mathcomp-bigenough/default.nix
new file mode 100644
index 00000000000..fa4a2aaeddb
--- /dev/null
+++ b/pkgs/development/coq-modules/mathcomp-bigenough/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchFromGitHub, coq, mathcomp }:
+
+stdenv.mkDerivation rec {
+  version = "1.0.0";
+  name = "coq${coq.coq-version}-mathcomp-bigenough-${version}";
+
+  src = fetchFromGitHub {
+    owner = "math-comp";
+    repo = "bigenough";
+    rev = version;
+    sha256 = "10g0gp3hk7wri7lijkrqna263346wwf6a3hbd4qr9gn8hmsx70wg";
+  };
+
+  buildInputs = [ coq ];
+  propagatedBuildInputs = [ mathcomp ];
+
+  installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
+
+  meta = {
+    description = "A small library to do epsilon - N reasonning";
+    inherit (src.meta) homepage;
+    inherit (mathcomp.meta) platforms license;
+    maintainers = [ stdenv.lib.maintainers.vbgl ];
+  };
+
+  passthru = {
+    compatibleCoqVersions = v: builtins.elem v [ "8.5" "8.6" "8.7" "8.8" ];
+  };
+}