From e6b42a7fdf986dfa06cf2d34c900dfd21b933e17 Mon Sep 17 00:00:00 2001 Message-ID: In-Reply-To: <9d11912cb4bd31eac64928892a97268dbf0e67a6.1699737412.git.poptsov.artyom@gmail.com> References: <9d11912cb4bd31eac64928892a97268dbf0e67a6.1699737412.git.poptsov.artyom@gmail.com> From: "Artyom V. Poptsov" Date: Sun, 5 Nov 2023 09:17:10 +0300 Subject: [PATCH 07/12] gnu: Add go-github-com-quic-go-qpack. * gnu/packages/golang.scm (go-github-com-quic-go-qpack): New variable. Change-Id: I1ef8e677367a9a863897bfe884259782076e75fc --- gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index e8472c8b61..92664550d4 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7718,6 +7718,39 @@ (define-public go-github-com-quic-go-qtls-go1-20 (home-page "https://github.com/quic-go/qtls-go1-20") (license license:expat))) +(define-public go-github-com-quic-go-qpack + (package + (name "go-github-com-quic-go-qpack") + (version "0.4.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/quic-go/qpack") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "00mjz445hhx4yar5l8p21bpp4d06jyg2ajw0ax7bh64d37l4kx39")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/quic-go/qpack" + ;; Tests require ginkgo v2. + #:tests? #f + #:go go-1.20)) + (propagated-inputs (list go-github-com-onsi-gomega + go-github-com-onsi-ginkgo + go-golang-org-x-net)) + (synopsis "Minimal QPACK (RFC 9204) implementation for Go") + (description + "A minimal QPACK (RFC 9204) implementation in Go. It is minimal in the sense +that it doesn't use the dynamic table at all, but just the static table and (Huffman +encoded) string literals. Wherever possible, it reuses code from the +@url{https://github.com/golang/net/tree/master/http2/hpack, HPACK implementation in +the Go standard library}.") + (home-page "https://github.com/quic-go/qpack") + (license license:expat))) + (define-public go-github-com-quic-go-quic-go (package (name "go-github-com-quic-go-quic-go") -- 2.41.0