ocamlPackages.ocamlformat: 0.27.0 → 0.28.1 (#457998)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
fetchurl,
|
||||
version ? "0.27.0",
|
||||
version ? "0.28.1",
|
||||
astring,
|
||||
base,
|
||||
camlp-streams,
|
||||
@@ -48,6 +48,7 @@ rec {
|
||||
"0.26.1" = "sha256-2gBuQn8VuexhL7gI1EZZm9m3w+4lq+s9VVdHpw10xtc=";
|
||||
"0.26.2" = "sha256-Lk9Za/eqNnqET+g7oPawvxSyplF53cCCNj/peT0DdcU=";
|
||||
"0.27.0" = "sha256-3b9ITAdtCPmUAO6Et5DsIx9cj8vV0zJKZADVOI6EbRU=";
|
||||
"0.28.1" = "sha256-cL2gN9C+2WHtkb21GYsu7vVCREdQqLAV2AzLlLP/Qfs=";
|
||||
}
|
||||
."${version}";
|
||||
};
|
||||
|
||||
@@ -20,6 +20,7 @@ lib.throwIf
|
||||
|| lib.versionAtLeast ocaml.version "5.1" && !lib.versionAtLeast version "0.25"
|
||||
|| lib.versionAtLeast ocaml.version "5.2" && !lib.versionAtLeast version "0.26.2"
|
||||
|| lib.versionAtLeast ocaml.version "5.3" && !lib.versionAtLeast version "0.27"
|
||||
|| lib.versionAtLeast ocaml.version "5.4" && !lib.versionAtLeast version "0.28"
|
||||
)
|
||||
"ocamlformat ${version} is not available for OCaml ${ocaml.version}"
|
||||
|
||||
|
||||
@@ -5271,6 +5271,7 @@ with pkgs;
|
||||
inherit (ocamlPackages)
|
||||
ocamlformat # latest version
|
||||
ocamlformat_0_27_0
|
||||
ocamlformat_0_28_1
|
||||
;
|
||||
|
||||
inherit (ocamlPackages) odig;
|
||||
|
||||
@@ -1473,6 +1473,7 @@ let
|
||||
ocamlformat_0_26_1 = ocamlformat.override { version = "0.26.1"; };
|
||||
ocamlformat_0_26_2 = ocamlformat.override { version = "0.26.2"; };
|
||||
ocamlformat_0_27_0 = ocamlformat.override { version = "0.27.0"; };
|
||||
ocamlformat_0_28_1 = ocamlformat.override { version = "0.28.1"; };
|
||||
|
||||
ocamlformat = callPackage ../development/ocaml-modules/ocamlformat/ocamlformat.nix { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user