diff mbox series

[bug#54560,22/47] gnu: Add go-github-com-puerkitobio-purell.

Message ID 20220325133211.5128-22-hello@lnikki.la
State New
Headers show
Series [bug#54560,01/47] gnu: Add go-google-golang-org-protobuf. | expand

Commit Message

Leo Nikkilä March 25, 2022, 1:31 p.m. UTC
* gnu/packages/golang.scm (go-github-com-puerkitobio-purell): New
variable.
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 99715d910d..7471120b7a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7242,6 +7242,29 @@  (define-public go-github-com-puerkitobio-goquery
 to jQuery to the Go language.")
     (license license:bsd-3)))
 
+(define-public go-github-com-puerkitobio-purell
+  (package
+    (name "go-github-com-puerkitobio-purell")
+    (version "1.1.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/PuerkitoBio/purell")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0c525frsxmalrn55hzzsxy17ng8avkd40ga0wxfw9haxsdjgqdqy"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/PuerkitoBio/purell"))
+    (propagated-inputs (list go-github-com-puerkitobio-urlesc
+                             go-golang-org-x-net go-golang-org-x-text))
+    (synopsis "Tiny Go library to normalize URLs")
+    (description "Purell is a tiny Go library to normalize URLs.")
+    (home-page "https://github.com/PuerkitoBio/purell")
+    (license license:bsd-3)))
+
 (define-public go-github-com-puerkitobio-urlesc
   (let ((commit "de5bf2ad457846296e2031421a34e2568e304e35")
         (revision "0"))