aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-09-08 16:06:56 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-09-09 21:05:19 +0100
commit94ef5ef9bb8d3aa3375e8dfffd7184fa88ef72a2 (patch)
tree8ab589000a266113b658b5ac167aabbb29bd7b4c
parentc158f2a5e76f3d5c5dbf9c584e8e10eb58b99a21 (diff)
downloadguix-94ef5ef9bb8d3aa3375e8dfffd7184fa88ef72a2.tar.gz
guix-94ef5ef9bb8d3aa3375e8dfffd7184fa88ef72a2.zip
gnu: Add go-github-com-jsimonetti-rtnetlink.
* gnu/packages/golang-web.scm (go-github-com-jsimonetti-rtnetlink): New variable. Change-Id: Ibc5e23073d5a8988ca5816787bf602b029e748f5
-rw-r--r--gnu/packages/golang-web.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 25306455a7..830cff7c77 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -2556,6 +2556,36 @@ geared towards parsing MIME encoded emails.")
transforms one JSON document into another through a JMESPath expression.")
(license license:asl2.0)))
+(define-public go-github-com-jsimonetti-rtnetlink
+ (package
+ (name "go-github-com-jsimonetti-rtnetlink")
+ (version "1.4.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jsimonetti/rtnetlink")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "19m8fcrcbw98gc191snfsi6qhb80jxnjhxzy8gppcwwg6732wmm1"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/jsimonetti/rtnetlink"))
+ (native-inputs
+ (list go-github-com-google-go-cmp))
+ (propagated-inputs
+ (list go-github-com-mdlayher-netlink go-golang-org-x-sys))
+ (home-page "https://github.com/jsimonetti/rtnetlink")
+ (synopsis "Low-level access to the Linux rtnetlink API")
+ (description
+ "This package allows the kernel's routing tables to be read and
+altered. Network routes, IP addresses, Link parameters, Neighbor
+setups,Queueing disciplines, Traffic classes and Packet classifiers may all be
+controlled. It is based on netlink messages.")
+ (license license:expat)))
+
(define-public go-github-com-json-iterator-go
(package
(name "go-github-com-json-iterator-go")