summary refs log tree commit diff
path: root/pkgs/development/coq-modules
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-05-09 00:01:39 +0700
committerVincent Laporte <vbgl@users.noreply.github.com>2021-05-10 09:08:55 +0200
commitddc71c80de78f35e4035354603cca221f523c11b (patch)
tree869a766d15ad72fe69affb90db662cb67493777e /pkgs/development/coq-modules
parente7d5862f4e12b0c6c093a257a25add014f98bb4c (diff)
downloadnixpkgs-ddc71c80de78f35e4035354603cca221f523c11b.tar
nixpkgs-ddc71c80de78f35e4035354603cca221f523c11b.tar.gz
nixpkgs-ddc71c80de78f35e4035354603cca221f523c11b.tar.bz2
nixpkgs-ddc71c80de78f35e4035354603cca221f523c11b.tar.lz
nixpkgs-ddc71c80de78f35e4035354603cca221f523c11b.tar.xz
nixpkgs-ddc71c80de78f35e4035354603cca221f523c11b.tar.zst
nixpkgs-ddc71c80de78f35e4035354603cca221f523c11b.zip
coqPackages.pocklington: init at 8.12.0
Diffstat (limited to 'pkgs/development/coq-modules')
-rw-r--r--pkgs/development/coq-modules/pocklington/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/coq-modules/pocklington/default.nix b/pkgs/development/coq-modules/pocklington/default.nix
new file mode 100644
index 00000000000..111bffeca2c
--- /dev/null
+++ b/pkgs/development/coq-modules/pocklington/default.nix
@@ -0,0 +1,22 @@
+{ lib, mkCoqDerivation, coq, version ? null }:
+with lib;
+
+mkCoqDerivation {
+  pname = "pocklington";
+  owner = "coq-community";
+
+  release."8.12.0".rev    = "v8.12.0";
+  release."8.12.0".sha256 = "sha256-0xBrw9+4g14niYdNqp0nx00fPJoSSnaDSDEaIVpPfjs=";
+
+  inherit version;
+  defaultVersion = with versions; switch coq.coq-version [
+    { case = isGe "8.7"; out = "8.12.0"; }
+  ] null;
+
+  meta = {
+    description = "Pocklington's criterion for primality in Coq";
+    maintainers = with maintainers; [ siraben ];
+    license = licenses.mit;
+    platforms = platforms.unix;
+  };
+}