summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")