summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2023-05-24 10:50:00 +0200
committerVincent Laporte <vbgl@users.noreply.github.com>2023-05-31 13:35:29 +0200
commitd5abae4393793c94a84dd2644e43d5489c29822c (patch)
tree771e32ccd0731b9b6971e8610d264cd7b9609612
parent6d633268cc173d929523a60523721b7bfa5a6599 (diff)
coqPackages.math-classes: 8.15.0 → 8.17.0
(cherry picked from commit ae809a58f6d95a09223a3ca3368d0ae76c70e7d8)
-rw-r--r--pkgs/development/coq-modules/math-classes/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/coq-modules/math-classes/default.nix b/pkgs/development/coq-modules/math-classes/default.nix
index d40dacd39380a..6ae6956110a5c 100644
--- a/pkgs/development/coq-modules/math-classes/default.nix
+++ b/pkgs/development/coq-modules/math-classes/default.nix
@@ -4,10 +4,14 @@ mkCoqDerivation {
 
   pname = "math-classes";
   inherit version;
-  defaultVersion = if lib.versions.range "8.6" "8.16" coq.coq-version then "8.15.0" else null;
+  defaultVersion = with lib.versions; lib.switch coq.coq-version [
+    { case = range "8.12" "8.17"; out = "8.17.0"; }
+    { case = range "8.6"  "8.16"; out = "8.15.0"; }
+  ] null;
   release."8.12.0".sha256 = "14nd6a08zncrl5yg2gzk0xf4iinwq4hxnsgm4fyv07ydbkxfb425";
   release."8.13.0".sha256 = "1ln7ziivfbxzbdvlhbvyg3v30jgblncmwcsam6gg3d1zz6r7cbby";
   release."8.15.0".sha256 = "10w1hm537k6jx8a8vghq1yx12rsa0sjk2ipv3scgir71ln30hllw";
+  release."8.17.0".sha256 = "sha256-WklL8pgYTd0l4TGt7h7tWj1qcFcXvoPn25+XKF1pIKA=";
 
   propagatedBuildInputs = [ bignums ];