Subject: [PATCH 12/26] gnu: Add python-hyperframe.

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

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

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4810a10834..db53ec8471 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4142,3 +4142,23 @@ own implementation of RFC 6214.")
      "@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)))
+
+(define-public python-hyperframe
+  (package
+    (name "python-hyperframe")
+    (version "5.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "hyperframe" version))
+       (sha256
+        (base32
+         "07xlf44l1cw0ghxx46sbmkgzil8vqv8kxwy42ywikiy35izw3xd9"))))
+    (build-system python-build-system)
+    (home-page
+     "https://python-hyper.org/hyperframe/en/latest/")
+    (synopsis "HTTP/2 framing layer for Python")
+    (description "@code{python-hyperframe} library contains the HTTP/2
+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)))
-- 
2.26.2