From 7ff7ca4b700c61cd6ae5f83058897d3bbb3a22aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leo=20Nikkil=C3=A4?= Date: Wed, 21 Aug 2024 21:37:39 +0100 Subject: [PATCH] gnu: Add go-github-com-shurcool-httpgzip. * gnu/packages/golang-web.scm (go-github-com-shurcool-httpgzip): New variable. Signed-off-by: Sharlatan Hellseher Change-Id: I78255b1729587c99ba1bbb6c8759d55d00c83497 --- gnu/packages/golang-web.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index a52e02cf6d..c252470815 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -3605,6 +3605,34 @@ of the specification.") support.") (license license:expat))) +(define-public go-github-com-shurcool-httpgzip + (package + (name "go-github-com-shurcool-httpgzip") + (version "0.0.0-20230704072819-d1585fc322fa") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/shurcooL/httpgzip") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "10fnndia8ij3hwwvknn8qy8z3955bm7xyvqd69yh5g2zh25zc5x2")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/shurcooL/httpgzip")) + (native-inputs + (list go-golang-org-x-tools)) + (propagated-inputs + (list go-golang-org-x-net)) + (home-page "https://github.com/shurcooL/httpgzip") + (synopsis "Primitives of @code{net-http}-like with gzip compression") + (description + "Package @code{httpgzip} provides @code{net/http}-like primitives that +use gzip compression when serving HTTP requests.") + (license license:expat))) + (define-public go-github-com-sourcegraph-jsonrpc2 (package (name "go-github-com-sourcegraph-jsonrpc2")