[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#65974] [PATCH 05/33] gnu: Add go-github-com-vishvananda-netlink.
From: |
Edouard Klein |
Subject: |
[bug#65974] [PATCH 05/33] gnu: Add go-github-com-vishvananda-netlink. |
Date: |
Thu, 14 Sep 2023 10:02:50 +0200 |
* gnu/packages/golang.scm (go-github-com-vishvananda-netlink): New variable.
---
gnu/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 5a00fd0a2b..0f64892d56 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13259,6 +13259,38 @@ (define-public go-src-elv-sh
Windows.")
(license license:bsd-2)))
+(define-public go-github-com-vishvananda-netlink
+ (package
+ (name "go-github-com-vishvananda-netlink")
+ (version "1.1.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/vishvananda/netlink")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1vhl30p1gx636a088ls4h6a0l8jjyfvz79fr5w0qzdrg4qg9h08h"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:tests? #f ;; From what I understand, and I may very well be wrong,
+ ;; the tests require root access. At least they fail with "operation
not permitted".
+ #:import-path "github.com/vishvananda/netlink"))
+ (propagated-inputs `(("go-golang-org-x-sys" ,go-golang-org-x-sys)
+ ("go-github-com-vishvananda-netns"
,go-github-com-vishvananda-netns)))
+ (home-page "https://github.com/vishvananda/netlink")
+ (synopsis "netlink - netlink library for go")
+ (description
+ "Package netlink provides a simple library for netlink. Netlink is the
interface
+a user-space program in linux uses to communicate with the kernel. It can be
+used to add and remove interfaces, set up ip addresses and routes, and
confiugre
+ipsec. Netlink communication requires elevated privileges, so in most cases
+this code needs to be run as root. The low level primitives for netlink are
+contained in the nl subpackage. This package attempts to provide a high-level
+interface that is loosly modeled on the iproute2 cli.")
+ (license license:asl2.0)))
+
(define-public go-github-com-vishvananda-netns
(package
(name "go-github-com-vishvananda-netns")
--
2.40.1
- [bug#65974] [PATCH 00/33] thirty something go packages, Edouard Klein, 2023/09/14
- [bug#65974] [PATCH 02/33] doc: golang: Minor grammar fix on comment, Edouard Klein, 2023/09/14
- [bug#65974] [PATCH 04/33] gnu: Add go-github-com-vishvananda-netns., Edouard Klein, 2023/09/14
- [bug#65974] [PATCH 06/33] gnu: Add go-github-com-hashicorp-errwrap., Edouard Klein, 2023/09/14
- [bug#65974] [PATCH 08/33] gnu: Add go-github-com-josharian-native., Edouard Klein, 2023/09/14
- [bug#65974] [PATCH 03/33] gnu: Add go-src-elv-sh., Edouard Klein, 2023/09/14
- [bug#65974] [PATCH 05/33] gnu: Add go-github-com-vishvananda-netlink.,
Edouard Klein <=
- [bug#65974] [PATCH 10/33] gnu: Add go-github-com-u-root-uio., Edouard Klein, 2023/09/14
- [bug#65974] [PATCH 09/33] gnu: Add go-github-com-pierrec-lz4-v4., Edouard Klein, 2023/09/14
- [bug#65974] [PATCH 13/33] gnu: Add go-github-com-u-root-uio-cp., Edouard Klein, 2023/09/14
- [bug#65974] [PATCH 07/33] gnu: Add go-github-com-hashicorp-go-multierror., Edouard Klein, 2023/09/14
- [bug#65974] [PATCH 01/33] gnu: Add go-github-com-sourcegraph-go-lsp., Edouard Klein, 2023/09/14
- [bug#65974] [PATCH 18/33] gnu: Add go-github-com-fanliao-go-promise., Edouard Klein, 2023/09/14
- [bug#65974] [PATCH 14/33] gnu: Add go-github-com-u-root-gobusybox-src-pkg-bb., Edouard Klein, 2023/09/14
- [bug#65974] [PATCH 12/33] gnu: Add go-github-com-u-root-uio-ulog., Edouard Klein, 2023/09/14
- [bug#65974] [PATCH 22/33] gnu: Add go-github-com-cilium-ebpf., Edouard Klein, 2023/09/14
- [bug#65974] [PATCH 17/33] gnu: Add go-github-com-klauspost-pgzip., Edouard Klein, 2023/09/14