diff mbox series

[bug#41807,13/26] gnu: Add python-h2.

Message ID 20200611151357.18843-13-goodoldpaul@autistici.org
State Accepted
Headers show
Series [bug#41807,01/26] gnu: Add python-outcome. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job

Commit Message

Giacomo Leidi June 11, 2020, 3:13 p.m. UTC
* gnu/packages/python-web.scm (python-h2): New variable.
---
 gnu/packages/python-web.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index db53ec8471..d658de9aee 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -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)))