about summary refs log tree commit diff
path: root/pkgs/development/coq-modules
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-03-13 00:31:11 +0700
committerVincent Laporte <vbgl@users.noreply.github.com>2021-03-26 10:55:48 +0100
commit2341ffeeaaf53a1ef943097d47d928bb7e44e304 (patch)
treededcbd7bb864724669da975e5ea509d08f6ae37a /pkgs/development/coq-modules
parent343d30c15a985bcf40265e0303403df67a2b821a (diff)
downloadnixlib-2341ffeeaaf53a1ef943097d47d928bb7e44e304.tar
nixlib-2341ffeeaaf53a1ef943097d47d928bb7e44e304.tar.gz
nixlib-2341ffeeaaf53a1ef943097d47d928bb7e44e304.tar.bz2
nixlib-2341ffeeaaf53a1ef943097d47d928bb7e44e304.tar.lz
nixlib-2341ffeeaaf53a1ef943097d47d928bb7e44e304.tar.xz
nixlib-2341ffeeaaf53a1ef943097d47d928bb7e44e304.tar.zst
nixlib-2341ffeeaaf53a1ef943097d47d928bb7e44e304.zip
coqPackages.fourcolor: init at 1.2.3
Diffstat (limited to 'pkgs/development/coq-modules')
-rw-r--r--pkgs/development/coq-modules/fourcolor/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/coq-modules/fourcolor/default.nix b/pkgs/development/coq-modules/fourcolor/default.nix
new file mode 100644
index 000000000000..4de6e2da8b51
--- /dev/null
+++ b/pkgs/development/coq-modules/fourcolor/default.nix
@@ -0,0 +1,24 @@
+{ lib, mkCoqDerivation, coq, mathcomp, version ? null }:
+with lib;
+
+mkCoqDerivation {
+  pname = "fourcolor";
+  owner = "math-comp";
+
+  release."1.2.3".rev    = "v1.2.3";
+  release."1.2.3".sha256 = "sha256-gwKfUa74fIP7j+2eQgnLD7AswjCtOFGHGaIWb4qI0n4=";
+
+  inherit version;
+  defaultVersion = with versions; switch mathcomp.version [
+    { case = pred.inter (isGe "1.11.0") (isLt "1.13"); out = "1.2.3"; }
+  ] null;
+
+  propagatedBuildInputs = [ mathcomp.algebra ];
+
+  meta = {
+    description = "Formal proof of the Four Color Theorem ";
+    maintainers = with maintainers; [ siraben ];
+    license = licenses.cecill-b;
+    platforms = platforms.unix;
+  };
+}