gnu: Add go-github-com-seccomp-libseccomp-golang.

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

Change-Id: Iacd08bdc3eb55e7cad4b7221b066c404f4098567
This commit is contained in:
Sharlatan Hellseher 2025-07-10 11:39:31 +01:00
parent 86d7418738
commit dfce36ee48
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -105,6 +105,7 @@
#:use-module (gnu packages golang-web)
#:use-module (gnu packages libedit)
#:use-module (gnu packages linux)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages serialization)
#:use-module (gnu packages specifications)
#:use-module (gnu packages xdisorg)
@ -16455,6 +16456,36 @@ is undetermined, a customizable spinner is shown.")
It's typically used for testing responses with larger data bodies.")
(license license:expat)))
(define-public go-github-com-seccomp-libseccomp-golang
(package
(name "go-github-com-seccomp-libseccomp-golang")
(version "0.11.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/seccomp/libseccomp-golang")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0lbrs4j8b8w47awczydb8snrky6gjgdfmcsvlwx4wvq20ipqr1nj"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/seccomp/libseccomp-golang"))
(native-inputs
(list pkg-config))
(inputs
(list libseccomp))
(home-page "https://github.com/seccomp/libseccomp-golang")
(synopsis "Bindings of @code{libseccomp} for Golang")
(description
"Package seccomp provides bindings for
@url{https://github.com/seccomp/libseccomp, libseccomp}, a library wrapping
the Linux seccomp syscall. Seccomp enables an application to restrict system
call use for itself and its children.")
(license license:bsd-2)))
(define-public go-github-com-segmentio-asm
(package
(name "go-github-com-segmentio-asm")