gnu: Add go-github-com-moby-sys-userns.

* gnu/packages/golang-xyz.scm (go-github-com-moby-sys-userns): New variable.

Change-Id: Ibe9091cd4113a63b298c256664fe0153d3b9318a
This commit is contained in:
Sharlatan Hellseher 2024-12-13 15:16:36 +00:00
parent 39bb5a4079
commit 3275ba9dcb
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -6385,6 +6385,32 @@ colored strings.")
(description "Go library for decoding generic map values")
(license license:expat)))
(define-public go-github-com-moby-sys-userns
(package
(name "go-github-com-moby-sys-userns")
(version "0.1.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/moby/sys")
(commit (go-version->git-ref version
#:subdir "userns"))))
(file-name (git-file-name name version))
(sha256
(base32 "1clr9x412gr1cq3jxf9lxblh9pkf8c42gz57wr14miy0nqsimx7j"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/moby/sys/userns"
#:unpack-path "github.com/moby/sys"))
(home-page "https://github.com/moby/sys")
(synopsis "Probe Linux user namespace")
(description
"Package userns provides utilities to detect whether we are currently
running in a Linux user namespace.")
(license license:asl2.0)))
(define-public go-github-com-modern-go-concurrent
(package
(name "go-github-com-modern-go-concurrent")