diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2021-01-21 18:00:33 +0100 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-01-28 10:28:51 +0100 |
commit | c174292ec789bb246d2c6e01ade79c7968261c77 (patch) | |
tree | 60ad94a6e5e63ae7e30c5456ca1a6ff3fc055011 /pkgs | |
parent | 14a5e8900b123984d8a03bf6d6868dbb382ae501 (diff) |
coqPackages.corn: 8.8.1 → 8.12.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/coq-modules/corn/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/development/coq-modules/corn/default.nix b/pkgs/development/coq-modules/corn/default.nix index 9f2316f3177d..6910f487c64e 100644 --- a/pkgs/development/coq-modules/corn/default.nix +++ b/pkgs/development/coq-modules/corn/default.nix @@ -3,8 +3,14 @@ with lib; mkCoqDerivation rec { pname = "corn"; inherit version; - defaultVersion = if versions.range "8.6" "8.9" coq.coq-version then "8.8.1" else null; - release."8.8.1".sha256 = "0gh32j0f18vv5lmf6nb87nr5450w6ai06rhrnvlx2wwi79gv10wp"; + defaultVersion = switch coq.coq-version [ + { case = "8.6"; out = "8.8.1"; } + { case = (versions.range "8.7" "8.12"); out = "8.12.0"; } + ] null; + release = { + "8.8.1".sha256 = "0gh32j0f18vv5lmf6nb87nr5450w6ai06rhrnvlx2wwi79gv10wp"; + "8.12.0".sha256 = "0b92vhyzn1j6cs84z2182fn82hxxj0bqq7hk6cs4awwb3vc7dkhi"; + }; preConfigure = "patchShebangs ./configure.sh"; configureScript = "./configure.sh"; |