unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#42894] [PATCH 1/4] gnu: Add python-h11.
@ 2020-08-16 20:04 Vinicius Monego
  2020-08-16 20:07 ` [bug#42894] [PATCH 2/4] gnu: Add python-wsproto Vinicius Monego
  2020-08-17  4:56 ` bug#42894: [PATCH 1/4] gnu: Add python-h11 Efraim Flashner
  0 siblings, 2 replies; 5+ messages in thread
From: Vinicius Monego @ 2020-08-16 20:04 UTC (permalink / raw)
  To: 42894; +Cc: Vinicius Monego

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

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f9c8157f0d..957c5ceeff 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -527,6 +527,34 @@ into HTTP/2 frames.")
 for use in Python programs that implement HTTP/2.")
     (license license:expat)))
 
+(define-public python-h11
+  (package
+    (name "python-h11")
+    (version "0.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "h11" version))
+       (sha256
+        (base32 "1qfad70h59hya21vrzz8dqyyaiqhac0anl2dx3s3k80gpskvrm1k"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (invoke "pytest" "-vv"))))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (home-page "https://github.com/python-hyper/h11")
+    (synopsis "Pure-Python, bring-your-own-I/O implementation of HTTP/1.1")
+    (description
+     "This is a little HTTP/1.1 library written from scratch in Python, heavily
+inspired by hyper-h2.  It's a bring-your-own-I/O library; h11 contains no IO
+code whatsoever.  This means you can hook h11 up to your favorite network API,
+and that could be anything you want.")
+    (license license:expat)))
+
 (define-public python-h2
   (package
     (name "python-h2")
-- 
2.20.1





^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-08-17  4:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-16 20:04 [bug#42894] [PATCH 1/4] gnu: Add python-h11 Vinicius Monego
2020-08-16 20:07 ` [bug#42894] [PATCH 2/4] gnu: Add python-wsproto Vinicius Monego
2020-08-16 20:07   ` [bug#42894] [PATCH 3/4] gnu: Add python-priority Vinicius Monego
2020-08-16 20:07   ` [bug#42894] [PATCH 4/4] gnu: Add python-hypercorn Vinicius Monego
2020-08-17  4:56 ` bug#42894: [PATCH 1/4] gnu: Add python-h11 Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).