~ruther/guix-local

6bb97e0620444d4ffc52bd7556a57a8ce34b239d — Arthur Rodrigues 5 months ago d06a313
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 <sharlatanus@gmail.com>
1 files changed, 31 insertions(+), 0 deletions(-)

M gnu/packages/golang-xyz.scm
M gnu/packages/golang-xyz.scm => gnu/packages/golang-xyz.scm +31 -0
@@ 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")