gnu: Add python-yarl.

* gnu/packages/python-web.scm (python-yarl): New variable.
This commit is contained in:
Nicolas Goaziou 2018-04-27 00:23:46 +02:00
parent f90f4c9c92
commit 2eccb41493
No known key found for this signature in database
GPG Key ID: A834B9E080A93738
2 changed files with 25 additions and 0 deletions

View File

@ -2555,3 +2555,27 @@ more.")
interface to @code{c-ares}, a C library that performs DNS requests and interface to @code{c-ares}, a C library that performs DNS requests and
name resolutions asynchronously.") name resolutions asynchronously.")
(license license:expat))) (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)))

View File

@ -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 (description "@code{async-timeout} provides a timeout timeout context
manager compatible with @code{asyncio}.") manager compatible with @code{asyncio}.")
(license license:asl2.0))) (license license:asl2.0)))