ocamlformat: 0.20.1 -> 0.21.0

The cmdliner dependency changed.
Update older version to use cmdliner_1_0 explicitly to be ready when it
changes.

+14 -10
+5 -1
pkgs/development/tools/ocaml/ocamlformat/default.nix
··· 68 68 version = "0.20.1"; 69 69 }; 70 70 71 - ocamlformat = ocamlformat_0_20_1; 71 + ocamlformat_0_21_0 = mkOCamlformat { 72 + version = "0.21.0"; 73 + }; 74 + 75 + ocamlformat = ocamlformat_0_21_0; 72 76 }
+8 -8
pkgs/development/tools/ocaml/ocamlformat/generic.nix
··· 25 25 "0.19.0" = "0ihgwl7d489g938m1jvgx8azdgq9f5np5mzqwwya797hx2m4dz32"; 26 26 "0.20.0" = "sha256-JtmNCgwjbCyUE4bWqdH5Nc2YSit+rekwS43DcviIfgk="; 27 27 "0.20.1" = "sha256-fTpRZFQW+ngoc0T6A69reEUAZ6GmHkeQvxspd5zRAjU="; 28 + "0.21.0" = "sha256-KhgX9rxYH/DM6fCqloe4l7AnJuKrdXSe6Y1XY3BXMy0="; 28 29 }."${version}"; 29 30 }; 30 31 ocamlPackages = ··· 60 61 if lib.versionAtLeast version "0.20.0" 61 62 then [ 62 63 base 63 - cmdliner 64 + (if lib.versionAtLeast version "0.21.0" then cmdliner_1_1 else cmdliner_1_0) 64 65 dune-build-info 65 66 either 66 67 fix ··· 78 79 else if lib.versionAtLeast version "0.19.0" 79 80 then [ 80 81 base 81 - cmdliner 82 + cmdliner_1_0 82 83 fpath 83 84 re 84 85 stdio ··· 94 95 else if lib.versionAtLeast version "0.18.0" 95 96 then [ 96 97 base 97 - cmdliner 98 + cmdliner_1_0 98 99 fpath 99 100 odoc 100 101 re ··· 112 113 else if lib.versionAtLeast version "0.17.0" 113 114 then [ 114 115 base 115 - cmdliner 116 + cmdliner_1_0 116 117 fpath 117 118 odoc 118 119 re ··· 131 132 else if lib.versionAtLeast version "0.15.1" 132 133 then [ 133 134 base 134 - cmdliner 135 + cmdliner_1_0 135 136 fpath 136 137 odoc 137 138 re ··· 148 149 else if lib.versionAtLeast version "0.14" 149 150 then [ 150 151 base 151 - cmdliner 152 + cmdliner_1_0 152 153 fpath 153 154 ocaml-migrate-parsetree 154 155 odoc ··· 161 162 menhirSdk 162 163 ] else [ 163 164 base 164 - cmdliner 165 + cmdliner_1_0 165 166 fpath 166 167 ocaml-migrate-parsetree 167 168 odoc ··· 178 179 license = lib.licenses.mit; 179 180 }; 180 181 } 181 -
+1 -1
pkgs/top-level/all-packages.nix
··· 13570 13570 ocamlformat_0_11_0 ocamlformat_0_12 ocamlformat_0_13_0 ocamlformat_0_14_0 13571 13571 ocamlformat_0_14_1 ocamlformat_0_14_2 ocamlformat_0_14_3 ocamlformat_0_15_0 13572 13572 ocamlformat_0_15_1 ocamlformat_0_16_0 ocamlformat_0_17_0 ocamlformat_0_18_0 13573 - ocamlformat_0_19_0 ocamlformat_0_20_0 ocamlformat_0_20_1; 13573 + ocamlformat_0_19_0 ocamlformat_0_20_0 ocamlformat_0_20_1 ocamlformat_0_21_0; 13574 13574 13575 13575 orc = callPackage ../development/compilers/orc { }; 13576 13576