Subject: [PATCH 11/26] gnu: Add python-hpack.

From: Giacomo Leidi <[email-masked]>
Date: Thu, 11 Jun 2020 17:13:42 +0200

* gnu/packages/python-web.scm (python-hpack): New variable.
---
 gnu/packages/python-web.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index dcfe523912..4810a10834 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4123,3 +4123,22 @@ IO code whatsoever.  This means you can hook @code{python-h11} up to
 your favorite network API: synchronous, threaded, asynchronous, or your
 own implementation of RFC 6214.")
     (license license:expat)))
+
+(define-public python-hpack
+  (package
+    (name "python-hpack")
+    (version "3.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "hpack" version))
+       (sha256
+        (base32
+         "1lp9ja4dk6jg0pm2d18kvh95k9p6yxhh4l1h7y541qzs9cgrrv4f"))))
+    (build-system python-build-system)
+    (home-page "http://hyper.rtfd.org")
+    (synopsis "HTTP/2 Header Encoding for Python")
+    (description
+     "@code{python-hpack} contains a pure-Python HTTP/2 header encoding
+(HPACK) logic for use in Python programs that implement HTTP/2.")
+    (license license:expat)))
-- 
2.26.2