From 74c2ce699515ceffdd8c0616768c97c39777ad75 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 16 Oct 2025 06:49:02 +0200 Subject: [PATCH] =?UTF-8?q?ocamlPackages.visitors:=2020250212=20=E2=86=92?= =?UTF-8?q?=2020251010?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ocaml-modules/visitors/default.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/pkgs/development/ocaml-modules/visitors/default.nix b/pkgs/development/ocaml-modules/visitors/default.nix index b4459cfaae65..5eaf5eb853ee 100644 --- a/pkgs/development/ocaml-modules/visitors/default.nix +++ b/pkgs/development/ocaml-modules/visitors/default.nix @@ -5,22 +5,26 @@ ppxlib, ppx_deriving, result, + version ? if lib.versionAtLeast ppxlib.version "0.36" then "20251010" else "20250212", }: -buildDunePackage rec { +buildDunePackage { pname = "visitors"; - version = "20250212"; - - duneVersion = "3"; + inherit version; minimalOCamlVersion = "4.08"; src = fetchFromGitLab { owner = "fpottier"; - repo = pname; - rev = version; + repo = "visitors"; + tag = version; domain = "gitlab.inria.fr"; - sha256 = "sha256-AFD4+vriwVGt6lzDyIDuIMadakcgB4j235yty5qqFgQ="; + hash = + { + "20250212" = "sha256-AFD4+vriwVGt6lzDyIDuIMadakcgB4j235yty5qqFgQ="; + "20251010" = "sha256-3CHXECMHf/UWtLvy7fiOaxx6EizRRtm9HpqRxcRjH3I="; + } + ."${version}"; }; propagatedBuildInputs = [