summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Rodrigues <arthurhdrodrigues@proton.me>2025-10-22 16:30:19 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-09 09:10:03 +0000
commite3e840f70e8cc942cb4059bfefa4c7c7f6eaae50 (patch)
tree50852f6893e326df31746f1f9959dcc63d62badd
parent9eac3f26d1ecaf7aa8edfce0c4cc652b696788fd (diff)
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 <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/golang-xyz.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 70f3491dcc3..b08096d2abc 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")