[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#41807] [PATCH 24/26] gnu: Add python-httpx.
From: |
Giacomo Leidi |
Subject: |
[bug#41807] [PATCH 24/26] gnu: Add python-httpx. |
Date: |
Thu, 11 Jun 2020 17:13:55 +0200 |
* gnu/packages/python-web.scm (python-httpx): 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 d40dad2e00..daaf4a8934 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4206,3 +4206,31 @@ codebase that is capable of decoding a binary stream
into HTTP/2 frames.")
"@code{python-hstspreload} contains Chromium HSTS Preload list
as a Python package.")
(license license:bsd-3)))
+
+(define-public python-httpx
+ (package
+ (name "python-httpx")
+ (version "0.13.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "httpx" version))
+ (sha256
+ (base32
+ "1bpg46mx8n74hxmw2pvgr5pc590hxdsh4wrs4j5bm00bx49vshin"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-certifi" ,python-certifi)
+ ("python-chardet" ,python-chardet)
+ ("python-h11" ,python-h11)
+ ("python-h2" ,python-h2)
+ ("python-hstspreload" ,python-hstspreload)
+ ("python-idna" ,python-idna)
+ ("python-rfc3986" ,python-rfc3986)
+ ("python-sniffio" ,python-sniffio)
+ ("python-urllib3" ,python-urllib3)))
+ (home-page "https://github.com/encode/httpx")
+ (synopsis "HTTP client for Python")
+ (description "HTTPX is a fully featured HTTP client for Python 3,
+which provides sync and async APIs, and support for both HTTP/1.1 and HTTP/2.")
+ (license license:bsd-3)))
--
2.26.2
- [bug#41807] [PATCH 09/26] gnu: Add python-aiofiles., (continued)
- [bug#41807] [PATCH 09/26] gnu: Add python-aiofiles., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 14/26] gnu: Add python-hstspreload., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 16/26] gnu: Add python-flake8-pyi., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 17/26] gnu: Add python-typing-inspect., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 19/26] gnu: Add python-pyre-extensions., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 02/26] gnu: Add python-immutables., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 11/26] gnu: Add python-hpack., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 22/26] gnu: Add python-libcst., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 23/26] gnu: Add python-pywatchman., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 25/26] gnu: Add python-uvloop., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 24/26] gnu: Add python-httpx.,
Giacomo Leidi <=
- [bug#41807] [PATCH 26/26] gnu: Add python-sanic., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCHES] Add python-sanic and dependencies., paul, 2020/06/11
- [bug#41807] [PATCHES] Add python-sanic and dependencies., Lars-Dominik Braun, 2020/06/17