about summary refs log tree commit diff
path: root/pkgs/development/coq-modules/mathcomp-infotheo
diff options
context:
space:
mode:
authorSebastian <sebastian.ertel@gmail.com>2024-02-09 18:24:43 +0100
committerGitHub <noreply@github.com>2024-02-09 18:24:43 +0100
commit6ed38373dc057bb5b853ea1ab9138375e4eb0acf (patch)
tree221bd9ae2b1d68089f8afb364d4eae16506e7c4b /pkgs/development/coq-modules/mathcomp-infotheo
parente5292c55c59da658caa588aa83277302a06b5b92 (diff)
coqPackages.mathcomp-analysis: 0.6.6 -> 1.0.0 (#285276)
Co-authored-by: Pierre Roux <pierre.roux@onera.fr>
Diffstat (limited to 'pkgs/development/coq-modules/mathcomp-infotheo')
-rw-r--r--pkgs/development/coq-modules/mathcomp-infotheo/default.nix14
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/development/coq-modules/mathcomp-infotheo/default.nix b/pkgs/development/coq-modules/mathcomp-infotheo/default.nix
index a649916892a81..6a14e67844c8d 100644
--- a/pkgs/development/coq-modules/mathcomp-infotheo/default.nix
+++ b/pkgs/development/coq-modules/mathcomp-infotheo/default.nix
@@ -1,14 +1,17 @@
-{ coq, mkCoqDerivation, mathcomp-analysis, lib, version ? null }:
+{ coq, mkCoqDerivation, mathcomp-analysis, mathcomp-algebra-tactics, lib, version ? null }:
 
-mkCoqDerivation {
+(mkCoqDerivation {
   namePrefix = [ "coq" "mathcomp" ];
   pname = "infotheo";
   owner = "affeldt-aist";
   inherit version;
+
   defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp-analysis.version] [
-    { cases = [ (isGe "8.17") (isGe "0.6.0") ];                  out = "0.5.2"; }
+    { cases = [ (isGe "8.17") (range "0.6.6" "0.7.0") ];         out = "0.6.1"; }
+    { cases = [ (range "8.17" "8.18") (range "0.6.0" "0.6.7") ]; out = "0.5.2"; }
     { cases = [ (range "8.15" "8.16") (range "0.5.4" "0.6.5") ]; out = "0.5.1"; }
   ] null;
+  release."0.6.1".sha256 = "sha256-tFB5lrwRPIlHkP+ebgcJwu03Cc9yVaOINOAo8Bf2LT4=";
   release."0.5.1".sha256 = "sha256-yBBl5l+V+dggsg5KM59Yo9CULKog/xxE8vrW+ZRnX7Y=";
   release."0.5.2".sha256 = "sha256-8WAnAV53c0pMTdwj8XcUDUkLZbpUgIQbEOgOb63uHQA=";
 
@@ -18,4 +21,7 @@ mkCoqDerivation {
     description = "A Coq formalization of information theory and linear error-correcting codes";
     license = licenses.lgpl21Plus;
   };
-}
+}).overrideAttrs (o: {
+  propagatedBuildInputs = o.propagatedBuildInputs
+  ++ lib.optional (lib.versions.isGe "0.6.1" o.version || o.version == "dev") mathcomp-algebra-tactics;
+})