summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-06-09 00:28:12 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-08-11 21:42:45 +0100
commitf221f621387d34a32b0a4ffcbd2a2ffc942e3192 (patch)
treeb1dffefa611c97abbb38f3ef11a3169c848808ca /gnu
parent99ee47f515d82cd10735bc103740edffbfbeae2d (diff)
gnu: Add go-github-com-shopify-goreferrer.
* gnu/packages/golang-web.scm (go-github-com-shopify-goreferrer): New variable. Change-Id: Ifee381d116e2e8942dbf406d6f3ad8f5e4a53ec1
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang-web.scm39
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index d4aef0a1d81..a57d9db8d7d 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -9433,6 +9433,45 @@ information or even the peer of a VETH interface.")
support.")
(license license:expat)))
+(define-public go-github-com-shopify-goreferrer
+ (package
+ (name "go-github-com-shopify-goreferrer")
+ (version "0.0.0-20250513162709-b78e2829e40b")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Shopify/goreferrer")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1sdmhkb1z5lhk7sgwq13vn2ryp0aaj4vsqb3fcxj8nyjvq19bfin"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/Shopify/goreferrer"
+ #:embed-files
+ #~(list
+ ;; golang.org/x/net/publicsuffix/table.go:63:12: pattern
+ ;; data/children: cannot embed irregular file data/children
+ "children"
+ ;; golang.org/x/net/publicsuffix/table.go:48:12: pattern data/nodes:
+ ;; cannot embed irregular file data/nodes
+ "nodes"
+ ;; golang.org/x/net/publicsuffix/table.go:33:12: pattern data/text:
+ ;; cannot embed irregular file data/text
+ "text")))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (propagated-inputs
+ (list go-golang-org-x-net))
+ (home-page "https://github.com/Shopify/goreferrer")
+ (synopsis "Referrer URLs analyzer and classifier library for Golang")
+ (description
+ "This package provides a Go module that analyzes and classifies different
+kinds of referrer URLs (search, social, ...).")
+ (license license:expat)))
+
(define-public go-github-com-shurcool-githubv4
(package
(name "go-github-com-shurcool-githubv4")