summaryrefslogtreecommitdiff
path: root/pkgs/development/coq-modules/mathcomp-zify/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/coq-modules/mathcomp-zify/default.nix')
-rw-r--r--pkgs/development/coq-modules/mathcomp-zify/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/coq-modules/mathcomp-zify/default.nix b/pkgs/development/coq-modules/mathcomp-zify/default.nix
new file mode 100644
index 000000000000..65af999d08f2
--- /dev/null
+++ b/pkgs/development/coq-modules/mathcomp-zify/default.nix
@@ -0,0 +1,22 @@
+{ lib, mkCoqDerivation, coq, mathcomp-algebra, version ? null }:
+
+with lib; mkCoqDerivation rec {
+ pname = "mathcomp-zify";
+ repo = "mczify";
+ owner = "math-comp";
+ inherit version;
+
+ defaultVersion = with versions;
+ switch [ coq.coq-version mathcomp-algebra.version ] [
+ { cases = [ (isEq "8.13") (isEq "1.12") ]; out = "1.0.0+1.12+8.13"; }
+ ] null;
+
+ release."1.0.0+1.12+8.13".sha256 = "1j533vx6lacr89bj1bf15l1a0s7rvrx4l00wyjv99aczkfbz6h6k";
+
+ propagatedBuildInputs = [ mathcomp-algebra ];
+
+ meta = {
+ description = "Micromega tactics for Mathematical Components";
+ maintainers = with maintainers; [ cohencyril ];
+ };
+}