summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Norton <patrick.147.norton@gmail.com>2026-01-06 09:40:36 -0500
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-04-30 21:34:00 +0100
commitefbb26f96737a021d05364d3eba98135ebc22878 (patch)
tree0873f41d9c79ac50fc54a46884b117ebbd2d33ee
parentb70ba384d343b6ae5dd0bf43fd0251ce9ae97cc6 (diff)
gnu: Add go-github-com-tailscale-netlink.
* gnu/packages/golang-web.scm (go-github-com-tailscale-netlink): New variable. Relates-to: https://codeberg.org/guix/guix/pulls/5417 Change-Id: I58d9369606f8d88c2e8fe70637c441d6584aa42b Reviewed-by: Arthur Rodrigues <arthurhdrodrigues@proton.me> Modified-by: Arthur Rodrigues <arthurhdrodrigues@proton.me> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/golang-web.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 73e8532d5b..c06a68a28d 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -17991,6 +17991,41 @@ build} directly to compile Go binaries and then uses
the desired platforms.")
(license license:bsd-3)))
+;; Does not build on latest proper release
+(define-public go-github-com-tailscale-netlink
+ (package
+ (name "go-github-com-tailscale-netlink")
+ (version "1.1.1-0.20240822203006-4d49adab4de7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tailscale/netlink")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0zf45fnkmw89wf7r2pakxanwk4khqzivrnc170v4dwn5lh5wvlwm"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/tailscale/netlink"))
+ (propagated-inputs
+ (list go-golang-org-x-sys
+ go-github-com-vishvananda-netns))
+ (home-page "https://github.com/tailscale/netlink")
+ (synopsis "Netlink library for go")
+ (description
+ "This package 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.
+
+It's an alternative fork of @url{https://github.com/vishvananda/netlink}.")
+ (license license:asl2.0)))
+
(define-public go-github-com-tdewolff-minify-v2
(package
(name "go-github-com-tdewolff-minify-v2")