diff mbox series

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

Message ID 20220325133211.5128-21-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-urlesc): New
variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7504f5637e..99715d910d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7242,6 +7242,30 @@  (define-public go-github-com-puerkitobio-goquery
 to jQuery to the Go language.")
     (license license:bsd-3)))
 
+(define-public go-github-com-puerkitobio-urlesc
+  (let ((commit "de5bf2ad457846296e2031421a34e2568e304e35")
+        (revision "0"))
+    (package
+      (name "go-github-com-puerkitobio-urlesc")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/PuerkitoBio/urlesc")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0n0srpqwbaan1wrhh2b7ysz543pjs1xw2rghvqyffg9l0g8kzgcw"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/PuerkitoBio/urlesc"))
+      (synopsis "Proper URL escaping as per RFC 3986")
+      (description "Package @code{urlesc} implements query escaping as
+per RFC 3986.")
+      (home-page "https://github.com/PuerkitoBio/urlesc")
+      (license license:bsd-3))))
+
 (define-public go-github-com-jmespath-go-jmespath
   (package
     (name "go-github-com-jmespath-go-jmespath")