From 1e1c10488f5987c8b02677f3bbc8c0419b186e0f Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 20 Oct 2025 02:15:11 +0200 Subject: [PATCH] =?UTF-8?q?ocamlPackages.ppx=5Fpattern=5Fbind:=200.17.0=20?= =?UTF-8?q?=E2=86=92=200.17.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ocaml-modules/janestreet/0.17.nix | 26 ++++++++++++++----- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/pkgs/development/ocaml-modules/janestreet/0.17.nix b/pkgs/development/ocaml-modules/janestreet/0.17.nix index 8613ef5b780e..f5789a5209a7 100644 --- a/pkgs/development/ocaml-modules/janestreet/0.17.nix +++ b/pkgs/development/ocaml-modules/janestreet/0.17.nix @@ -1567,13 +1567,25 @@ with self; ]; }; - ppx_pattern_bind = janePackage { - pname = "ppx_pattern_bind"; - hash = "sha256-IVDvFU9ERB2YFJOgP/glYcO4KhEH5VdQ7wCCfreboqA="; - meta.description = "PPX for writing fast incremental bind nodes in a pattern match"; - propagatedBuildInputs = [ ppx_let ]; - meta.broken = lib.versionAtLeast ppxlib.version "0.36"; - }; + ppx_pattern_bind = janePackage ( + { + pname = "ppx_pattern_bind"; + meta.description = "PPX for writing fast incremental bind nodes in a pattern match"; + propagatedBuildInputs = [ ppx_let ]; + } + // ( + if lib.versionAtLeast ppxlib.version "0.36" then + { + version = "0.17.1"; + hash = "sha256-O3FtpXrFoyMI3iPL3BUwquREy+8TygOlyaTUGBUPk4Q=$"; + } + else + { + version = "0.17.0"; + hash = "sha256-IVDvFU9ERB2YFJOgP/glYcO4KhEH5VdQ7wCCfreboqA="; + } + ) + ); ppx_pipebang = janePackage { pname = "ppx_pipebang";