gnu: go-netns: Update to 0.0.4.

* gnu/packages/networking.scm (go-netns): Update to 0.0.4.
[propagated-inputs]: Add go-golang-org-x-sys.

Change-Id: I5af9f1d6e10454435ededae9c3f002f7445f2418
This commit is contained in:
Sharlatan Hellseher 2024-07-25 21:35:44 +01:00
parent 734bf6bf02
commit f6ed91c640
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1918,29 +1918,29 @@ virtual machines, and certificates.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public go-netns (define-public go-netns
(let ((commit "13995c7128ccc8e51e9a6bd2b551020a27180abd")
(revision "1"))
(package (package
(name "go-netns") (name "go-netns")
(version (git-version "0.0.0" revision commit)) (version "0.0.4")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/vishvananda/netns") (url "https://github.com/vishvananda/netns")
(commit commit))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1zk6w8158qi4niva5rijchbv9ixgmijsgqshh54wdaav4xrhjshn")))) "0rci8c211m57nya9il81fz6459pia3dj5i4b16fp34vjrkcxliml"))))
(build-system go-build-system) (build-system go-build-system)
(arguments (arguments
`(#:import-path "github.com/vishvananda/netns" `(#:import-path "github.com/vishvananda/netns"
#:tests? #f)) ;tests require root privileges #:tests? #f)) ;tests require root privileges
(propagated-inputs
(list go-golang-org-x-sys))
(home-page "https://github.com/vishvananda/netns") (home-page "https://github.com/vishvananda/netns")
(synopsis "Simple network namespace handling for Go") (synopsis "Simple network namespace handling for Go")
(description "The netns package provides a simple interface for (description "The netns package provides a simple interface for
handling network namespaces in Go.") handling network namespaces in Go.")
(license license:asl2.0)))) (license license:asl2.0)))
(define-public go-sctp (define-public go-sctp
;; docker-libnetwork-cmd-proxy requires this exact commit. ;; docker-libnetwork-cmd-proxy requires this exact commit.