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