diff mbox series

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

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

Patch

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