From 13b4ef935774807551d5c8fe546f77f5b8386d0d Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 21 Oct 2025 20:33:41 +0200 Subject: [PATCH] =?UTF-8?q?ocamlPackages.graphql=5Fppx:=201.2.2=20?= =?UTF-8?q?=E2=86=92=201.2.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ocaml-modules/graphql_ppx/default.nix | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/pkgs/development/ocaml-modules/graphql_ppx/default.nix b/pkgs/development/ocaml-modules/graphql_ppx/default.nix index 08ae3343d062..5623248589fa 100644 --- a/pkgs/development/ocaml-modules/graphql_ppx/default.nix +++ b/pkgs/development/ocaml-modules/graphql_ppx/default.nix @@ -1,5 +1,6 @@ { lib, + ocaml, buildDunePackage, fetchFromGitHub, alcotest, @@ -9,19 +10,15 @@ yojson, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "graphql_ppx"; - version = "1.2.2"; - - duneVersion = "3"; - - minimalOCamlVersion = "4.08"; + version = "1.2.3"; src = fetchFromGitHub { owner = "reasonml-community"; repo = "graphql-ppx"; - rev = "v${version}"; - sha256 = "sha256-+WJhA2ixZHiSZBoX14dnQKk7JfVAIME4JooNSnhRp44="; + tag = "v${finalAttrs.version}"; + hash = "sha256-u49JHC8K5iMCOQRPYaMl00npJsIE6ePaeJ2jP/vnuvw="; }; nativeBuildInputs = [ reason ]; @@ -42,6 +39,7 @@ buildDunePackage rec { doCheck = true; meta = { + broken = lib.versionAtLeast ocaml.version "5.4"; homepage = "https://github.com/reasonml-community/graphql_ppx"; description = "GraphQL PPX rewriter for Bucklescript/ReasonML"; license = lib.licenses.mit; @@ -50,4 +48,4 @@ buildDunePackage rec { jtcoolen ]; }; -} +})