From 42178bc13ce1e225bcad08b173446de90a3400ca Mon Sep 17 00:00:00 2001 From: Arthur Rodrigues Date: Tue, 14 Oct 2025 00:51:41 +0000 Subject: [PATCH] gnu: Add go-github-com-tonistiigi-units. * gnu/packages/golang-xyz.scm (go-github-com-tonistiigi-units): New variable. Change-Id: I95f8c8f66b34b3cf51653be941f3d64f53675e40 Modified-by: Sharlatan Hellseher Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 3420daccbc42a56fd3b8759bfe34c3ffdeee7fa9..c9970c362c8d20a30a58d1c0235895497dc142ad 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -20694,6 +20694,30 @@ 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-units + (package + (name "go-github-com-tonistiigi-units") + (version "0.0.0-20180711220420-6950e57a87ea") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tonistiigi/units") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1w8rgmlg6pim4vchg4qfpdf6niqmsp0a4f6bafgwd1gnwxi71zkf")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/tonistiigi/units")) + (native-inputs + (list go-github-com-stretchr-testify)) + (home-page "https://github.com/tonistiigi/units") + (synopsis "Simple byte size formatting") + (description "This package provides a simple byte size formatting in Go.") + (license license:expat))) + (define-public go-github-com-twpayne-go-shell (package (name "go-github-com-twpayne-go-shell")