From 6bb97e0620444d4ffc52bd7556a57a8ce34b239d Mon Sep 17 00:00:00 2001 From: Arthur Rodrigues Date: Tue, 28 Oct 2025 02:06:12 +0000 Subject: [PATCH] gnu: Add go-github-com-moby-profiles-seccomp. * gnu/packages/golang-xyz.scm (go-github-com-moby-profiles-seccomp): New variable. Change-Id: I6c09cdac483a83bd0067721a4b4a380dc920b13b Signed-off-by: Sharlatan Hellseher --- 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 0ab2034ba7d..a736bba6797 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -15158,6 +15158,37 @@ to help free up more global locks to handle other tasks.") names.") (license license:asl2.0))) +(define-public go-github-com-moby-profiles-seccomp + (package + (name "go-github-com-moby-profiles-seccomp") + (version "0.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/moby/profiles") + (commit (go-version->git-ref version + #:subdir "seccomp")))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1hgczgfxn41gyjljmfr1qaiql6k10xkbc5zpkd7vzj5l52lw7n13")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/moby/profiles/seccomp" + #:unpack-path "github.com/moby/profiles")) + (propagated-inputs + (list go-github-com-opencontainers-runtime-spec + go-golang-org-x-sys)) + (home-page "https://github.com/moby/profiles") + (synopsis "Seccomp support for Golang") + (description + "@code{seccomp} is a computer security facility in the Linux kernel. It + allows a process to make a one-way transition into a secure state where it +cannot make any system calls except @code{exit}, @code{sigreturn}, @code{read} +and @code{write} to already-open file descriptors.") + (license license:asl2.0))) + (define-public go-github-com-moby-pubsub (package (name "go-github-com-moby-pubsub")