@@ -4162,3 +4162,26 @@ own implementation of RFC 6214.")
framing code used in the @code{hyper} project. It provides a pure-Python
codebase that is capable of decoding a binary stream into HTTP/2 frames.")
(license license:expat)))
+
+(define-public python-h2
+ (package
+ (name "python-h2")
+ (version "3.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "h2" version))
+ (sha256
+ (base32
+ "051gg30aca26rdxsmr9svwqm06pdz9bv21ch4n0lgi7jsvml2pw7"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-hpack" ,python-hpack)
+ ("python-hyperframe" ,python-hyperframe)))
+ (home-page
+ "https://github.com/python-hyper/hyper-h2")
+ (synopsis
+ "HTTP/2 State-Machine based protocol implementation")
+ (description
+ "@code{python-h2} is a Python implementation of a HTTP/2 protocol stack.")
+ (license license:expat)))