guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#72565] [PATCH 6/7] gnu: Add go-github-com-libp2p-go-netroute.


From: Artyom V. Poptsov
Subject: [bug#72565] [PATCH 6/7] gnu: Add go-github-com-libp2p-go-netroute.
Date: Sun, 11 Aug 2024 00:09:57 +0300

* gnu/packages/golang-web.scm (go-github-com-libp2p-go-netroute): New variable.

Change-Id: I46ed313a1c96cf5b9d126fa48791351a13d66f32
---
 gnu/packages/golang-web.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 3fb58cdc55..27a2a2d4ed 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -2070,6 +2070,36 @@ (define-public go-github-com-koron-go-ssdp
 Simple Service Discovery Protocol} (SSDP) library for Golang.")
     (license license:expat)))
 
+(define-public go-github-com-libp2p-go-netroute
+  (package
+    (name "go-github-com-libp2p-go-netroute")
+    (version "0.2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/libp2p/go-netroute";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "06p68j63fd5nf2gf1fz2pnksmdmv735swpbpvnhb15vrgg3r528g"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:tests? #f ;Tests require networking.
+      #:import-path "github.com/libp2p/go-netroute"))
+    (propagated-inputs (list go-github-com-google-gopacket
+                             go-golang-org-x-net
+                             go-golang-org-x-sys))
+    (home-page "https://github.com/libp2p/go-netroute";)
+    (synopsis "Routing table abstraction library for Golang")
+    (description
+     "@code{go-netroute} is a cross-platform implementation of the
+@url{https://godoc.org/github.com/google/gopacket/routing#Router,
+gopacket/routing.Router} interface for Golang.  It is derived from 
@code{gopacket}
+for GNU/Linux, @code{x/net/route} for Mac, and @code{iphlpapi.dll} for 
Windows.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-makeworld-the-better-one-go-gemini
   (package
     (name "go-github-com-makeworld-the-better-one-go-gemini")
-- 
2.45.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]