summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-10 11:39:31 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-22 20:13:07 +0100
commitdfce36ee487068c0c1c12fcfe4b8b0bee1367839 (patch)
tree0fec96116e544299b2269d219200cf88270c647d /gnu/packages/golang-xyz.scm
parent86d7418738949bcf43fb0d685af7cb2d0a9da56d (diff)
gnu: Add go-github-com-seccomp-libseccomp-golang.
* gnu/packages/golang-xyz.scm (go-github-com-seccomp-libseccomp-golang): New variable. Change-Id: Iacd08bdc3eb55e7cad4b7221b066c404f4098567
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 9c3dda8244..73c62390fb 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -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")