From 89fd9025cfae7cab49ea36134640952ad553c4fa Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 3 Nov 2025 07:02:11 +0100 Subject: [PATCH] =?UTF-8?q?ocamlPackages.ocamlformat:=200.27.0=20=E2=86=92?= =?UTF-8?q?=200.28.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/ocamlformat/generic.nix | 3 ++- pkgs/development/ocaml-modules/ocamlformat/ocamlformat.nix | 1 + pkgs/top-level/all-packages.nix | 1 + pkgs/top-level/ocaml-packages.nix | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/ocaml-modules/ocamlformat/generic.nix b/pkgs/development/ocaml-modules/ocamlformat/generic.nix index af78650c146e..d4f2f3336fe8 100644 --- a/pkgs/development/ocaml-modules/ocamlformat/generic.nix +++ b/pkgs/development/ocaml-modules/ocamlformat/generic.nix @@ -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}"; }; diff --git a/pkgs/development/ocaml-modules/ocamlformat/ocamlformat.nix b/pkgs/development/ocaml-modules/ocamlformat/ocamlformat.nix index 65f9dadbd957..2f6d2a596f4a 100644 --- a/pkgs/development/ocaml-modules/ocamlformat/ocamlformat.nix +++ b/pkgs/development/ocaml-modules/ocamlformat/ocamlformat.nix @@ -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}" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0130772f5741..10362b1780b1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5271,6 +5271,7 @@ with pkgs; inherit (ocamlPackages) ocamlformat # latest version ocamlformat_0_27_0 + ocamlformat_0_28_1 ; inherit (ocamlPackages) odig; diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index d06036960772..bbcebaa75530 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -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 { };