diff options
Diffstat (limited to 'pkgs/development/coq-modules/ceres/default.nix')
-rw-r--r-- | pkgs/development/coq-modules/ceres/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/coq-modules/ceres/default.nix b/pkgs/development/coq-modules/ceres/default.nix index 75d57936ff5f2..78f76bd1b89f8 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; |