1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-10 23:20:37 +02:00

gnu: Add go-github-com-syndtr-gocapability.

* gnu/packages/golang-xyz.scm (go-github-com-syndtr-gocapability): New variable.

Change-Id: I6527e599277cb1476c1711b2d50c7f7d98b77c6e
This commit is contained in:
Sharlatan Hellseher
2025-10-06 02:40:01 +01:00
parent e1b0981463
commit a7397e65d3

View File

@@ -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")