From e1d816b18a12d4efbf7b0f8d0efc8f9d6d7e9f53 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 20 Oct 2025 02:15:20 +0200 Subject: [PATCH] =?UTF-8?q?ocamlPackages.streamable:=200.17.0=20=E2=86=92?= =?UTF-8?q?=200.17.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ocaml-modules/janestreet/0.17.nix | 42 ++++++++++++------- 1 file changed, 27 insertions(+), 15 deletions(-) diff --git a/pkgs/development/ocaml-modules/janestreet/0.17.nix b/pkgs/development/ocaml-modules/janestreet/0.17.nix index 0b3514ea3486..43db542b5a1f 100644 --- a/pkgs/development/ocaml-modules/janestreet/0.17.nix +++ b/pkgs/development/ocaml-modules/janestreet/0.17.nix @@ -2100,21 +2100,33 @@ with self; ]; }; - streamable = janePackage { - pname = "streamable"; - hash = "sha256-FtrAX4nsacCO5HTVxwLgwwT8R2sASJ05qu4gT2ZVSDg="; - meta.description = "Collection of types suitable for incremental serialization"; - propagatedBuildInputs = [ - async_kernel - async_rpc_kernel - base - core - core_kernel - ppx_jane - ppxlib - ]; - meta.broken = lib.versionAtLeast ppxlib.version "0.36"; - }; + streamable = janePackage ( + { + pname = "streamable"; + meta.description = "Collection of types suitable for incremental serialization"; + propagatedBuildInputs = [ + async_kernel + async_rpc_kernel + base + core + core_kernel + ppx_jane + ppxlib + ]; + } + // ( + if lib.versionAtLeast ppxlib.version "0.36" then + { + version = "0.17.1"; + hash = "sha256-3d7tByQCOfA44wSBKbHXDvyomenWVaEDMHujlK++n8Y="; + } + else + { + version = "0.17.0"; + hash = "sha256-FtrAX4nsacCO5HTVxwLgwwT8R2sASJ05qu4gT2ZVSDg="; + } + ) + ); textutils = janePackage { pname = "textutils";