From f201cf5f7891125d9a09431166398a82bb8370d0 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sun, 17 Jul 2022 21:04:43 +0200 Subject: [PATCH] =?UTF-8?q?coqPackages.fourcolor:=201.2.4=20=E2=86=92=201.?= =?UTF-8?q?2.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/coq-modules/fourcolor/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/coq-modules/fourcolor/default.nix b/pkgs/development/coq-modules/fourcolor/default.nix index a9c5d021077..3615f5513a3 100644 --- a/pkgs/development/coq-modules/fourcolor/default.nix +++ b/pkgs/development/coq-modules/fourcolor/default.nix @@ -5,14 +5,16 @@ mkCoqDerivation { pname = "fourcolor"; owner = "math-comp"; - release."1.2.3".rev = "v1.2.3"; + releaseRev = v: "v${v}"; + release."1.2.3".sha256 = "sha256-gwKfUa74fIP7j+2eQgnLD7AswjCtOFGHGaIWb4qI0n4="; - release."1.2.4".rev = "v1.2.4"; release."1.2.4".sha256 = "sha256-iSW2O1kuunvOqTolmGGXmsYTxo2MJYCdW3BnEhp6Ksg="; + release."1.2.5".sha256 = "sha256-3qOPNCRjGK2UdHGMSqElpIXhAPVCklpeQgZwf9AFals="; inherit version; defaultVersion = with versions; switch [ coq.version mathcomp.version ] [ - { cases = [ (isGe "8.11") (isGe "1.11.0") ]; out = "1.2.4"; } + { cases = [ (isGe "8.11") (isGe "1.12") ]; out = "1.2.5"; } + { cases = [ (isGe "8.11") (range "1.11" "1.14") ]; out = "1.2.4"; } { cases = [ (isLe "8.13") (pred.inter (isGe "1.11.0") (isLt "1.13")) ]; out = "1.2.3"; } ] null;