summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorDavid Thompson <davet@gnu.org>2025-06-02 12:31:19 +0200
committerLudovic Courtès <ludo@gnu.org>2025-06-17 15:17:17 +0200
commit4f2ed6e6b15393649035dc31f3722368bc9c22dc (patch)
tree4fb68d9842156b38274fa891fb0685f1fb78aea9 /gnu/packages/golang-xyz.scm
parenta16b83b9d2aa04d641d09336b9302c0aee5818b6 (diff)
gnu: Add go-github-com-moby-sys-user.
* gnu/packages/golang-xyz.scm (go-github-com-moby-sys-user): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Change-Id: I6b679a92a09716de337e9dd824f79aca2bf4abbb
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 58bd72e8f9..566d7d0329 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -12195,6 +12195,33 @@ about OS mounts as seen by the current process is available from
@code{/proc/self/mountinfo}.")
(license license:asl2.0)))
+(define-public go-github-com-moby-sys-user
+ (package
+ (name "go-github-com-moby-sys-user")
+ (version "0.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/moby/sys")
+ (commit (go-version->git-ref version
+ #:subdir "user"))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1clr9x412gr1cq3jxf9lxblh9pkf8c42gz57wr14miy0nqsimx7j"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/moby/sys/user"
+ #:unpack-path "github.com/moby/sys"))
+ (propagated-inputs (list go-golang-org-x-sys))
+ (home-page "https://github.com/moby/sys")
+ (synopsis "Unix user and group access from Go")
+ (description
+ "This Go library provides facilities to access @file{/etc/passwd} and
+related files.")
+ (license license:asl2.0)))
+
(define-public go-github-com-moby-sys-userns
(package
(name "go-github-com-moby-sys-userns")