From 6317ff31fd97cdb8349b558cb0e650a5a7e37164 Mon Sep 17 00:00:00 2001 From: Arthur Rodrigues Date: Tue, 14 Oct 2025 00:57:28 +0000 Subject: [PATCH] gnu: Add go-github-com-tonistiigi-go-csvvalue. * gnu/packages/golang-xyz.scm (go-github-com-tonistiigi-go-csvvalue): New variable. Change-Id: I256de915299a59aad88d379ac80688f88bc8e8e0 Modified-by: Sharlatan Hellseher Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index c9970c362c8d20a30a58d1c0235895497dc142ad..ecad1326d3a15720b459e137c9d1b7dc1169c86f 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -20694,6 +20694,32 @@ structures using selector strings. It's similar to @code{jq}/@code{yq}, but supports JSON, YAML, TOML, XML and CSV with zero runtime dependencies.") (license license:expat))) +(define-public go-github-com-tonistiigi-go-csvvalue + (package + (name "go-github-com-tonistiigi-go-csvvalue") + (version "0.0.0-20240814133006-030d3b2625d0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tonistiigi/go-csvvalue") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "128i7fmxyf08q80b1i6hgb3sbx2nsa56p2kr6vcdyijazhqnrn0p")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/tonistiigi/go-csvvalue")) + (home-page "https://github.com/tonistiigi/go-csvvalue") + (synopsis "Efficient parser for a single line CSV value in Golang") + (description + "Package csvvalue provides an efficient parser for a single line CSV +value. It is more efficient than the standard library csv package for parsing +many small values. For multi-line CSV parsing, the standard library is +recommended.") + (license license:expat))) + (define-public go-github-com-tonistiigi-units (package (name "go-github-com-tonistiigi-units")