guix_mirror_bot pushed a commit to branch go-team
in repository guix.
commit dd253b0f7136241dcb7b57c7700c9e527999b512
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Jun 9 00:28:12 2025 +0100
gnu: Add go-github-com-shopify-goreferrer.
* gnu/packages/golang-web.scm (go-github-com-shopify-goreferrer): New
variable.
Change-Id: Ifee381d116e2e8942dbf406d6f3ad8f5e4a53ec1
---
gnu/packages/golang-web.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index d4aef0a1d8..a57d9db8d7 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")