aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2018-04-27 00:23:46 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2018-05-11 11:54:41 +0200
commit2eccb41493c8970e1379134bd97aebc22239d1d5 (patch)
tree0634c55d5048083115257f06f75c93123aa571e7 /gnu/packages
parentf90f4c9c925286044dde72272e48848b1e84bcf6 (diff)
downloadpatches-2eccb41493c8970e1379134bd97aebc22239d1d5.tar
patches-2eccb41493c8970e1379134bd97aebc22239d1d5.tar.gz
gnu: Add python-yarl.
* gnu/packages/python-web.scm (python-yarl): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-web.scm24
-rw-r--r--gnu/packages/python.scm1
2 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index de1a6c32df..dc571e187b 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2555,3 +2555,27 @@ more.")
interface to @code{c-ares}, a C library that performs DNS requests and
name resolutions asynchronously.")
(license license:expat)))
+
+(define-public python-yarl
+ (package
+ (name "python-yarl")
+ (version "1.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "yarl" version))
+ (sha256
+ (base32
+ "1s6z13g8vgxfkkqwhn6imnm7pl7ky9arv4jygnn6bcndcbidg7d6"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-pytest-runner" ,python-pytest-runner)))
+ (propagated-inputs
+ `(("python-idna" ,python-idna)
+ ("python-multidict" ,python-multidict)))
+ (home-page "https://github.com/aio-libs/yarl/")
+ (synopsis "Yet another URL library")
+ (description "@code{yarl} module provides handy @code{URL} class
+for URL parsing and changing.")
+ (license license:asl2.0)))
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 13d73b55c5..f942a2be44 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13296,3 +13296,4 @@ generators and Python 3.7's context managers into Python 3.5.")
(description "@code{async-timeout} provides a timeout timeout context
manager compatible with @code{asyncio}.")
(license license:asl2.0)))
+