[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/15: gnu: Add go-github-com-libp2p-go-cidranger.
From: |
guix-commits |
Subject: |
13/15: gnu: Add go-github-com-libp2p-go-cidranger. |
Date: |
Mon, 26 Aug 2024 19:37:50 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit 8625e4200dec9cd224f72c665ead3651ef020753
Author: Artyom V. Poptsov <poptsov.artyom@gmail.com>
AuthorDate: Mon Aug 26 00:23:37 2024 +0300
gnu: Add go-github-com-libp2p-go-cidranger.
* gnu/packages/golang-web.scm (go-github-com-libp2p-go-cidranger): New
variable.
Change-Id: I4e21f87c7b77ae8a5f7fa2e098330ec15bff079e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
gnu/packages/golang-web.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 8280a131fb..c663a9c5e5 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -2661,6 +2661,38 @@ router.")
@acronym{Simple Service Discovery Protocol, SSDP}} library for Golang.")
(license license:expat)))
+(define-public go-github-com-libp2p-go-cidranger
+ (package
+ (name "go-github-com-libp2p-go-cidranger")
+ (version "1.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/libp2p/go-cidranger")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "05hzlk5hx7qna5znr3q1crr0qb7h8yrv1v96pj015dh0kbdkdaba"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/libp2p/go-cidranger"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (propagated-inputs
+ (list go-github-com-ipfs-go-detect-race))
+ (home-page "https://github.com/libp2p/go-cidranger")
+ (synopsis "Fast IP to CIDR lookup in Golang")
+ (description
+ "Fast IP to
@url{https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing,
+CIDR} block(s) lookup using trie in Golang, inspired by
+@url{https://vincent.bernat.im/en/blog/2017-ipv4-route-lookup-linux, IPv4
+route lookup Linux}. Possible use cases include detecting if a IP address is
+from published cloud provider CIDR blocks (e.g. 52.95.110.1 is contained in
+published AWS Route53 CIDR 52.95.110.0/24), IP routing rules, etc.")
+ (license license:expat)))
+
(define-public go-github-com-libp2p-go-flow-metrics
(package
(name "go-github-com-libp2p-go-flow-metrics")
- branch master updated (7876575bbf -> 3ab2aa3fe5), guix-commits, 2024/08/26
- 01/15: gnu: python-click-didyoumean: Update to 0.3.1., guix-commits, 2024/08/26
- 06/15: gnu: Add cliphist., guix-commits, 2024/08/26
- 13/15: gnu: Add go-github-com-libp2p-go-cidranger.,
guix-commits <=
- 12/15: gnu: Add go-github-com-libp2p-go-yamux-v4., guix-commits, 2024/08/26
- 15/15: gnu: kubo: Unbandle more inputs., guix-commits, 2024/08/26
- 10/15: gnu: Add go-github-com-libp2p-go-reuseport., guix-commits, 2024/08/26
- 04/15: gnu: Add watson., guix-commits, 2024/08/26
- 02/15: gnu: python-click-didyoumean: Enable tests., guix-commits, 2024/08/26
- 08/15: gnu: go-go-etcd-io-bbolt: Adjust package style., guix-commits, 2024/08/26
- 11/15: gnu: Add go-github-com-libp2p-go-libp2p-asn-util., guix-commits, 2024/08/26
- 09/15: gnu: Add go-github-com-anaskhan96-soup., guix-commits, 2024/08/26
- 05/15: gnu: Add go-go-senan-xyz-flagconf, guix-commits, 2024/08/26
- 03/15: gnu: Add python-pytest-datafiles., guix-commits, 2024/08/26