From 50ee8e365b90916278c4a62a6d0f37cdb330a80d Mon Sep 17 00:00:00 2001 From: Pierre Roux Date: Thu, 1 Aug 2024 17:12:42 +0200 Subject: [PATCH 1/2] coqPackages.gaia: 1.17 -> 2.2 --- pkgs/development/coq-modules/gaia/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/coq-modules/gaia/default.nix b/pkgs/development/coq-modules/gaia/default.nix index 715f5ec3d364..073352d1744a 100644 --- a/pkgs/development/coq-modules/gaia/default.nix +++ b/pkgs/development/coq-modules/gaia/default.nix @@ -9,10 +9,12 @@ mkCoqDerivation { release."1.14".sha256 = "sha256-wgeQC0fIN3PSmRY1K6/KTy+rJmqqxdo3Bhsz1vjVAes="; release."1.15".sha256 = "sha256:04zchnkvaq2mzpcilpspn5l947689gj3m0w20m0nd7w4drvlahnw"; release."1.17".sha256 = "sha256-2VzdopXgKS/wC5Rd1/Zlr12J5bSIGINFjG1nrMjDrGE="; + release."2.2".sha256 = "sha256-y8LlQg9d9rfPFjzS9Xu3BW/H3tPiOC+Eb/zwXJGW9d4="; releaseRev = (v: "v${v}"); inherit version; defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [ + { cases = [ (range "8.16" "8.20") (range "2.0" "2.2") ]; out = "2.2"; } { cases = [ (range "8.10" "8.18") (range "1.12.0" "1.18.0") ]; out = "1.17"; } { cases = [ (range "8.10" "8.12") "1.11.0" ]; out = "1.11"; } ] null; From a06a5415bb107bb400d5887ab9a63a9d1f37bf10 Mon Sep 17 00:00:00 2001 From: Pierre Roux Date: Wed, 31 Jul 2024 16:23:37 +0200 Subject: [PATCH 2/2] coqPackages.mathcomp: 1 -> 2 --- pkgs/development/coq-modules/mathcomp/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/coq-modules/mathcomp/default.nix b/pkgs/development/coq-modules/mathcomp/default.nix index 51accc11d249..32a3cac12fe7 100644 --- a/pkgs/development/coq-modules/mathcomp/default.nix +++ b/pkgs/development/coq-modules/mathcomp/default.nix @@ -20,12 +20,12 @@ let withDoc = single && (args.withDoc or false); defaultVersion = let inherit (lib.versions) range; in lib.switch coq.coq-version [ + { case = range "8.17" "8.20"; out = "2.2.0"; } + { case = range "8.17" "8.18"; out = "2.1.0"; } + { case = range "8.17" "8.18"; out = "2.0.0"; } { case = range "8.19" "8.20"; out = "1.19.0"; } { case = range "8.17" "8.18"; out = "1.18.0"; } { case = range "8.15" "8.18"; out = "1.17.0"; } - { case = range "8.16" "8.20"; out = "2.2.0"; } - { case = range "8.16" "8.18"; out = "2.1.0"; } - { case = range "8.16" "8.18"; out = "2.0.0"; } { case = range "8.13" "8.18"; out = "1.16.0"; } { case = range "8.14" "8.16"; out = "1.15.0"; } { case = range "8.11" "8.15"; out = "1.14.0"; }