From 335de7152a0ac17d05fff55cbc30cee49c81c50b Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 25 Jul 2023 04:36:13 +0200 Subject: coqPackages.ceres: 0.4.0 → 0.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/coq-modules/ceres/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'pkgs/development/coq-modules') diff --git a/pkgs/development/coq-modules/ceres/default.nix b/pkgs/development/coq-modules/ceres/default.nix index 75d57936ff5..78f76bd1b89 100644 --- a/pkgs/development/coq-modules/ceres/default.nix +++ b/pkgs/development/coq-modules/ceres/default.nix @@ -7,9 +7,15 @@ mkCoqDerivation { owner = "Lysxia"; inherit version; - defaultVersion = if lib.versions.range "8.8" "8.16" coq.version then "0.4.0" else null; + defaultVersion = with lib.versions; lib.switch coq.version [ + { case = range "8.14" "8.17"; out = "0.4.1"; } + { case = range "8.8" "8.16"; out = "0.4.0"; } + ] null; + release."0.4.1".sha256 = "sha256-9vyk8/8IVsqNyhw3WPzl8w3L9Wu7gfaMVa3n2nWjFiA="; release."0.4.0".sha256 = "sha256:0zwp3pn6fdj0qdig734zdczrls886al06mxqhhabms0jvvqijmbi"; + useDuneifVersion = lib.versions.isGe "0.4.1"; + meta = with lib; { description = "Library for serialization to S-expressions"; license = licenses.mit; -- cgit 1.4.1