Skip to content

Commit

Permalink
coqPackages.mathcomp-analysis: 1.5.0 -> 1.7.0 (NixOS#361371)
Browse files Browse the repository at this point in the history
* coqPackages.mathcomp-infotheo: 0.7.3 -> 0.7.5
* coqPackages.mathcomp-analysis: 1.5.0 -> 1.7.0
  • Loading branch information
proux01 authored Dec 4, 2024
1 parent dd801ac commit 62ecaec
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pkgs/development/coq-modules/mathcomp-analysis/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ let
repo = "analysis";
owner = "math-comp";

release."1.7.0".sha256 = "sha256-GgsMIHqLkWsPm2VyOPeZdOulkN00IoBz++qA6yE9raQ=";
release."1.5.0".sha256 = "sha256-EWogrkr5TC5F9HjQJwO3bl4P8mij8U7thUGJNNI+k88=";
release."1.4.0".sha256 = "sha256-eDggeuEU0fMK7D5FbxvLkbAgpLw5lwL/Rl0eLXAnJeg=";
release."1.2.0".sha256 = "sha256-w6BivDM4dF4Iv4rUTy++2feweNtMAJxgGExPfYGhXxo=";
Expand All @@ -34,7 +35,7 @@ let

defaultVersion = let inherit (lib.versions) range; in
lib.switch [ coq.version mathcomp.version ] [
{ cases = [ (range "8.19" "8.20") (range "2.1.0" "2.2.0") ]; out = "1.5.0"; }
{ cases = [ (range "8.19" "8.20") (range "2.1.0" "2.2.0") ]; out = "1.7.0"; }
{ cases = [ (range "8.17" "8.20") (range "2.0.0" "2.2.0") ]; out = "1.1.0"; }
{ cases = [ (range "8.17" "8.19") (range "1.17.0" "1.19.0") ]; out = "0.7.0"; }
{ cases = [ (range "8.17" "8.18") (range "1.15.0" "1.18.0") ]; out = "0.6.7"; }
Expand Down
6 changes: 4 additions & 2 deletions pkgs/development/coq-modules/mathcomp-infotheo/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ coq, mkCoqDerivation, mathcomp-analysis, mathcomp-algebra-tactics, interval, lib, version ? null }:
{ coq, mkCoqDerivation, mathcomp-analysis, mathcomp-analysis-stdlib, mathcomp-algebra-tactics, interval, lib, version ? null }:

(mkCoqDerivation {
namePrefix = [ "coq" "mathcomp" ];
Expand All @@ -7,21 +7,23 @@
inherit version;

defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp-analysis.version] [
{ cases = [ (range "8.19" "8.20") (isGe "1.7") ]; out = "0.7.5"; }
{ cases = [ (range "8.18" "8.20") (isGe "1.5") ]; out = "0.7.3"; }
{ cases = [ (range "8.18" "8.19") (isGe "1.2") ]; out = "0.7.2"; }
{ cases = [ (range "8.17" "8.19") (isGe "1.0") ]; out = "0.7.1"; }
{ 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.7.5".sha256 = "sha256-pzPo+Acjx3vlyqOkSZQ8uT2BDLSTfbAnRm39e+/CqE0=";
release."0.7.3".sha256 = "sha256-7+qPtE1KfDmo9ZsQtWMzoR2MYnFpTjFHK/yZYVm+GxA=";
release."0.7.2".sha256 = "sha256-dekrdVmuTcqXXmKhIb831EKtMhbPrXHJZhzmGb9rdRo=";
release."0.7.1".sha256 = "sha256-/4Elb35SmscG6EjEcHYDo+AmWrpBUlygZL0WhaD+fcY=";
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=";

propagatedBuildInputs = [ mathcomp-analysis ];
propagatedBuildInputs = [ mathcomp-analysis-stdlib ];

meta = with lib; {
description = "Coq formalization of information theory and linear error-correcting codes";
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/coq-modules/ssprove/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, equations
, mathcomp-ssreflect
, mathcomp-analysis
, mathcomp-experimental-reals
, extructures
, deriving
}:
Expand Down Expand Up @@ -33,6 +34,7 @@
propagatedBuildInputs = [equations
mathcomp-ssreflect
mathcomp-analysis
mathcomp-experimental-reals
extructures
deriving];

Expand Down

0 comments on commit 62ecaec

Please sign in to comment.