From e3e840f70e8cc942cb4059bfefa4c7c7f6eaae50 Mon Sep 17 00:00:00 2001 From: Arthur Rodrigues Date: Wed, 22 Oct 2025 16:30:19 +0000 Subject: [PATCH] gnu: Add go-github-com-tonistiigi-dchapes-mode. * gnu/packages/golang-xyz.scm (go-github-com-tonistiigi-dchapes-mode): New variable. Change-Id: I2410219bea3d8ba22136b1202f678f3b47cca82e 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 70f3491dcc31557bf0ca8396dc8c1efbb474ce48..b08096d2abc72bb86b4da4f9b70420b0a63a4f53 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -21028,6 +21028,32 @@ many small values. For multi-line CSV parsing, the standard library is recommended.") (license license:expat))) +(define-public go-github-com-tonistiigi-dchapes-mode + (package + (name "go-github-com-tonistiigi-dchapes-mode") + (version "0.0.0-20250318174251-73d941a28323") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tonistiigi/dchapes-mode") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0bs5jvq3045mspyq42pk3dliqgn3a975l30030abvggidnbxpggw")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/tonistiigi/dchapes-mode")) + (home-page "https://github.com/tonistiigi/dchapes-mode") + (synopsis "BSD's setmode and getmode for Golang") + (description + "Package @code{mode} provides a native Go implementation of BSD's +setmode and getmode which can be used to modify the mode bits of an +@code{os.FileMode} value based on a symbolic value as described by the Unix +chmod command.") + (license license:bsd-2))) + (define-public go-github-com-tonistiigi-units (package (name "go-github-com-tonistiigi-units")