guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 345a77b90eb357759d2dee77c67cd36cf73c8a56
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Aug 24 21:59:25 2025 +0100

    gnu: Add go-github-com-landlock-lsm-go-landlock.
    
    * gnu/packages/golang-xyz.scm (go-github-com-landlock-lsm-go-landlock): New 
variable.
    
    Change-Id: Iec152e0ef759092edf21ea199bf13c3a50f1e789
    Signed-off-by: Artyom V. Poptsov <[email protected]>
---
 gnu/packages/golang-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index a3b8d1036f..73c4b4cd3d 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -12398,6 +12398,35 @@ representation suitable for computing diffs.")
 @end itemize")
     (license license:expat)))
 
+(define-public go-github-com-landlock-lsm-go-landlock
+  (package
+    (name "go-github-com-landlock-lsm-go-landlock")
+    (version "0.0.0-20250303204525-1544bccde3a3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/landlock-lsm/go-landlock";)
+              (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "00qis8gg2ajyph9jyrjghm6cn0h22pwjwdp6qa22ji6jslgnm02n"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:skip-build? #t
+      #:import-path "github.com/landlock-lsm/go-landlock"))
+    (propagated-inputs
+     (list go-golang-org-x-sys
+           go-kernel-org-pub-linux-libs-security-libcap-psx))
+    (home-page "https://landlock.io/";)
+    (synopsis "Golang library for the Linux Landlock sandboxing feature")
+    (description
+     "This package implements a restriction for the current processes' ability
+to use files, using Linux 5.13's
+@url{https://docs.kernel.org/security/landlock.html, Landlock} feature.")
+    (license license:expat)))
+
 (define-public go-github-com-lann-builder
   (package
     (name "go-github-com-lann-builder")

Reply via email to