summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-web.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <[email protected]>2025-01-11 16:37:10 +0000
committerSharlatan Hellseher <[email protected]>2025-01-21 23:47:59 +0000
commit4feda720a163783ba8a2cef41c04f18fa7f87559 (patch)
tree2e77db68b6355ef5419eec70244f664acf3a6fbf /gnu/packages/golang-web.scm
parente1a95fe3419259b3abe7d84c7e57c1b4348c3f95 (diff)
gnu: Add go-gitlab-torproject-org-tpo-anti-censorship-geoip.
* gnu/packages/golang-web.scm (go-gitlab-torproject-org-tpo-anti-censorship-geoip): New variable. Change-Id: I627b9548e6d115da3eeec035a644f5b524af05d6
Diffstat (limited to 'gnu/packages/golang-web.scm')
-rw-r--r--gnu/packages/golang-web.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 2f1c1fab14..20d58bc842 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -8094,6 +8094,34 @@ multiplexing. The original intention of this library is to power the
connection management for @url{https://github.com/xtaci/kcp-go,kcp-go}.")
(license license:expat)))
+(define-public go-gitlab-torproject-org-tpo-anti-censorship-geoip
+ (package
+ (name "go-gitlab-torproject-org-tpo-anti-censorship-geoip")
+ (version "0.0.0-20210928150955-7ce4b3d98d01")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
+ "https://gitlab.torproject.org/tpo/anti-censorship/geoip.git")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0i7dc717w1g7hk7488vscqxj0a10af6fz9jczxxsfyxagynfzqcq"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "gitlab.torproject.org/tpo/anti-censorship/geoip"))
+ (propagated-inputs
+ (list go-github-com-smartystreets-goconvey))
+ (home-page "https://gitlab.torproject.org/tpo/anti-censorship/geoip")
+ (synopsis "GeoIP go library that uses the tor geoipdb")
+ (description
+ "This code is for loading database data that maps IP addresses to
+countries for collecting and presenting statistics on snowflake use that might
+alert us to censorship events.")
+ (license license:bsd-3)))
+
(define-public go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-goptlib
(package
(name "go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-goptlib")