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

From: Leo Nikkilä <[email-masked]>
Date: Fri, 25 Mar 2022 15:31:45 +0200

* gnu/packages/golang.scm (go-github-com-puerkitobio-urlesc): New
variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

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")
-- 
2.34.0