guix_mirror_bot pushed a commit to branch master
in repository guix.

commit dfce36ee487068c0c1c12fcfe4b8b0bee1367839
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Jul 10 11:39:31 2025 +0100

    gnu: Add go-github-com-seccomp-libseccomp-golang.
    
    * gnu/packages/golang-xyz.scm (go-github-com-seccomp-libseccomp-golang): 
New variable.
    
    Change-Id: Iacd08bdc3eb55e7cad4b7221b066c404f4098567
---
 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 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")

Reply via email to