From f163cc45e692df1f36d1bff693192af7535b71a0 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 3 Dec 2024 09:30:25 +0000 Subject: [PATCH] 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 --- gnu/packages/golang-web.scm | 28 ++++++++++++++++++++++++++++ gnu/packages/networking.scm | 28 ---------------------------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 81f3185df2..75065740ab 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 2db089f261..02e1d08e25 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.