From 4b255a27d300e766e07a853a421b08ce537acf24 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 20 Oct 2025 02:15:09 +0200 Subject: [PATCH] =?UTF-8?q?ocamlPackages.ppx=5Fjsonaf=5Fconv:=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 | 36 ++++++++++++------- 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/pkgs/development/ocaml-modules/janestreet/0.17.nix b/pkgs/development/ocaml-modules/janestreet/0.17.nix index 6e0f48a1d9d1..8613ef5b780e 100644 --- a/pkgs/development/ocaml-modules/janestreet/0.17.nix +++ b/pkgs/development/ocaml-modules/janestreet/0.17.nix @@ -1437,18 +1437,30 @@ with self; ]; }; - ppx_jsonaf_conv = janePackage { - pname = "ppx_jsonaf_conv"; - hash = "sha256-v7CYOJ1g4LkqIv5De5tQjjkBWXqKHbvqfSr0X5jBUuM="; - meta.description = "[@@deriving] plugin to generate Jsonaf conversion functions"; - propagatedBuildInputs = [ - base - jsonaf - ppx_jane - ppxlib - ]; - meta.broken = lib.versionAtLeast ppxlib.version "0.36"; - }; + ppx_jsonaf_conv = janePackage ( + { + pname = "ppx_jsonaf_conv"; + meta.description = "[@@deriving] plugin to generate Jsonaf conversion functions"; + propagatedBuildInputs = [ + base + jsonaf + ppx_jane + ppxlib + ]; + } + // ( + if lib.versionAtLeast ppxlib.version "0.36" then + { + version = "0.17.1"; + hash = "sha256-BnkYY+Td9zV++PuPs/gm5U58rCZjew1OJQ2k8KE+dfA="; + } + else + { + version = "0.17.0"; + hash = "sha256-v7CYOJ1g4LkqIv5De5tQjjkBWXqKHbvqfSr0X5jBUuM="; + } + ) + ); ppx_js_style = janePackage ( {