From 03cc222adec0847edac182176d0d380ab67d7bfc Mon Sep 17 00:00:00 2001 From: KangaZero Date: Wed, 22 Jul 2026 11:27:27 +0900 Subject: [PATCH] csvtk: 0.33.0 -> 0.37.0 Skip TestMutate3: v0.37.0's mutate3 expression engine (expr-lang 1.17.7) makes len() count runes instead of bytes, but the upstream test still asserts the old byte-length value and there is no CI to catch it. --- pkgs/by-name/cs/csvtk/package.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/cs/csvtk/package.nix b/pkgs/by-name/cs/csvtk/package.nix index 8798fb96b7de..dc7e47931040 100644 --- a/pkgs/by-name/cs/csvtk/package.nix +++ b/pkgs/by-name/cs/csvtk/package.nix @@ -7,7 +7,7 @@ buildPackages, }: let - version = "0.33.0"; + version = "0.37.0"; in buildGoModule { pname = "csvtk"; @@ -17,10 +17,13 @@ buildGoModule { owner = "shenwei356"; repo = "csvtk"; tag = "v${version}"; - hash = "sha256-Zacs1hw4pryVNxnrkLIoBNWo0jcKjtYdx6kW2LTFEIs="; + hash = "sha256-dpWxLOckdA0tNhSM8wGqBag/cXmMFhonybN+W1+KBXA="; }; - vendorHash = "sha256-T9flXxly3i8SKQlhp4AF2FNCqgcnGAHxv5b7nqzM3DI="; + vendorHash = "sha256-wi7WPwCg0MoNxgCLZO1UxG4M0g/Vo/GCiCGu8c5avyU="; + + # stale upstream test: asserts byte length, but expr-lang now returns rune count + checkFlags = [ "-skip=TestMutate3" ]; nativeBuildInputs = [ installShellFiles ];