From 2eccb41493c8970e1379134bd97aebc22239d1d5 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 27 Apr 2018 00:23:46 +0200 Subject: [PATCH] gnu: Add python-yarl. * gnu/packages/python-web.scm (python-yarl): New variable. --- gnu/packages/python-web.scm | 24 ++++++++++++++++++++++++ gnu/packages/python.scm | 1 + 2 files changed, 25 insertions(+) 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))) +