diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2019-04-05 01:53:00 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2019-05-05 20:14:14 -0400 |
commit | 03981f90643dee6ad7a67f9c29a4dc183e620bc4 (patch) | |
tree | 18965cd6ca7fa32f4969e5e9d8c0bc9d9ee48f9b /gnu/packages/networking.scm | |
parent | 523533ed097b89123c60f3f0a6900b0d63a4b41d (diff) | |
download | guix-03981f90643dee6ad7a67f9c29a4dc183e620bc4.tar guix-03981f90643dee6ad7a67f9c29a4dc183e620bc4.tar.gz |
gnu: Add go-netns.
* gnu/packages/networking.scm (go-netns): New variable.
Diffstat (limited to 'gnu/packages/networking.scm')
-rw-r--r-- | gnu/packages/networking.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 8bc344749b..d5c7fe884f 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -731,6 +731,31 @@ manage, and delete Internet resources from Gandi.net such as domain names, virtual machines, and certificates.") (license license:gpl3+))) +(define-public go-netns + (let ((commit "13995c7128ccc8e51e9a6bd2b551020a27180abd") + (revision "1")) + (package + (name "go-netns") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vishvananda/netns.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1zk6w8158qi4niva5rijchbv9ixgmijsgqshh54wdaav4xrhjshn")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/vishvananda/netns" + #:tests? #f)) ;tests require root privileges + (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. (let ((commit "07191f837fedd2f13d1ec7b5f885f0f3ec54b1cb") |