Subject: [bug#54560] [PATCH 23/47] gnu: Add go-github-com-shurcool-httpgzip.

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

* gnu/packages/golang.scm (go-github-com-shurcool-httpgzip): New
variable.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7471120b7a..775d1c274b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5386,6 +5386,34 @@ (define-public go-github-com-russross-blackfriday
     (description "Blackfriday is a Markdown processor in Go.")
     (license license:bsd-2)))
 
+(define-public go-github-com-shurcool-httpgzip
+  (let ((commit "320755c1c1b0484e6179c9a5b68aabcc0dae5ac2")
+        (revision "0"))
+    (package
+      (name "go-github-com-shurcool-httpgzip")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/shurcooL/httpgzip")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0vhlpnb93nndbbxc4jkix3bjjypjpfs5rrfkpqacfshs6gnvm647"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/shurcooL/httpgzip"))
+      (propagated-inputs (list go-golang-org-x-net go-golang-org-x-text))
+      (native-inputs (list go-golang-org-x-tools))
+      (synopsis "Primitives that use gzip compression when serving HTTP
+requests")
+      (description
+       "Package @code{httpgzip} provides @code{net/http}-like primitives
+that use gzip compression when serving HTTP requests.")
+      (home-page "https://github.com/shurcooL/httpgzip")
+      (license license:expat))))
+
 (define-public go-github-com-shurcool-sanitized-anchor-name
   (package
     (name "go-github-com-shurcool-sanitized-anchor-name")
-- 
2.34.0