summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-12-03 09:30:25 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-21 23:41:48 +0000
commitf163cc45e692df1f36d1bff693192af7535b71a0 (patch)
tree2d3352d378173e39677401b3e2cd5dc428c6e3db
parentca800541dd24c3903f7e10ed5aaa98e839d505a7 (diff)
gnu: go-github-com-vishvananda-netns: Move to golang-web.
* gnu/packages/networking.scm (go-github-com-vishvananda-netns): Move from here ... * gnu/packages/golang-web.scm: ... to here. Change-Id: I61f01af0f6c57d6e079226cfaa01560e38e4d06e
-rw-r--r--gnu/packages/golang-web.scm28
-rw-r--r--gnu/packages/networking.scm28
2 files changed, 28 insertions, 28 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 81f3185df2d..75065740ab9 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -5914,6 +5914,34 @@ kernel. It can be used to add and remove interfaces, set IP addresses and
routes, and configure IPsec.")
(license license:asl2.0)))
+(define-public go-github-com-vishvananda-netns
+ (package
+ (name "go-github-com-vishvananda-netns")
+ (version "0.0.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/vishvananda/netns")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1f96fbmjq93msdfxmicnypnn2lzvi7jrxy82fiyd9gwxdapfd061"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ ;; Tests fail with error: operation not permitted.
+ #:test-flags #~(list "-skip" "TestGetNewSetDelete|TestThreaded")
+ #:import-path "github.com/vishvananda/netns"))
+ (propagated-inputs
+ (list go-golang-org-x-sys))
+ (home-page "https://github.com/vishvananda/netns")
+ (synopsis "Simple network namespace handling for Go")
+ (description
+ "The netns package provides a simple interface for handling network
+namespaces in Go.")
+ (license license:asl2.0)))
+
(define-public go-github-com-whyrusleeping-cbor
(package
(name "go-github-com-whyrusleeping-cbor")
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 2db089f2616..02e1d08e25e 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1951,34 +1951,6 @@ manage, and delete Internet resources from Gandi.net such as domain names,
virtual machines, and certificates.")
(license license:gpl3+)))
-(define-public go-github-com-vishvananda-netns
- (package
- (name "go-github-com-vishvananda-netns")
- (version "0.0.5")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/vishvananda/netns")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1f96fbmjq93msdfxmicnypnn2lzvi7jrxy82fiyd9gwxdapfd061"))))
- (build-system go-build-system)
- (arguments
- (list
- ;; Tests fail with error: operation not permitted.
- #:test-flags #~(list "-skip" "TestGetNewSetDelete|TestThreaded")
- #:import-path "github.com/vishvananda/netns"))
- (propagated-inputs
- (list go-golang-org-x-sys))
- (home-page "https://github.com/vishvananda/netns")
- (synopsis "Simple network namespace handling for Go")
- (description
- "The netns package provides a simple interface for handling network
-namespaces in Go.")
- (license license:asl2.0)))
-
(define-public go-sctp
;; docker-libnetwork-cmd-proxy requires this exact commit.
;; This commit is mentioned in docker-libnetwork-cmd-proxy's vendor.conf.