guix_mirror_bot pushed a commit to branch master
in repository guix.
commit a7397e65d35a99ebbd4213e893f96a4be29e95be
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Oct 6 02:40:01 2025 +0100
gnu: Add go-github-com-syndtr-gocapability.
* gnu/packages/golang-xyz.scm (go-github-com-syndtr-gocapability): New
variable.
Change-Id: I6527e599277cb1476c1711b2d50c7f7d98b77c6e
---
gnu/packages/golang-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 3397b47049..e058dcedeb 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -19639,6 +19639,37 @@ Porter2 stemmer}. It is written completely using
finite state machines to do
suffix comparison, rather than the string-based or tree-based approaches.")
(license license:asl2.0)))
+(define-public go-github-com-syndtr-gocapability
+ (package
+ (name "go-github-com-syndtr-gocapability")
+ (version "0.0.0-20200815063812-42c35b437635")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/syndtr/gocapability")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "00zi0k190ydlm9drnafvj9p4cf6axm858wr71pbmq1p3r94iqws4"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:skip-build? #t
+ #:import-path "github.com/syndtr/gocapability"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'go-generate
+ (lambda* (#:key import-path #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path
+ "/capability/enumgen")
+ (invoke "go" "generate" "-v" "-n")))))))
+ (home-page "https://github.com/syndtr/gocapability")
+ (synopsis "Utilities for manipulating POSIX capabilities in Golang")
+ (description
+ "This package provides utilities for manipulating POSIX capabilities.")
+ (license license:bsd-2)))
+
(define-public go-github-com-syndtr-goleveldb
(package
(name "go-github-com-syndtr-goleveldb")