From: Vinicius Monego <monego@posteo.net>
To: 42894@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#42894] [PATCH 1/4] gnu: Add python-h11.
Date: Sun, 16 Aug 2020 17:04:54 -0300 [thread overview]
Message-ID: <20200816200454.1467-1-monego@posteo.net> (raw)
* 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
next reply other threads:[~2020-08-16 20:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-16 20:04 Vinicius Monego [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200816200454.1467-1-monego@posteo.net \
--to=monego@posteo.net \
--cc=42894@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.