aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/python.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2018-04-27 00:19:15 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2018-05-11 11:54:40 +0200
commit3cdab3d485d334008ea45f4993026a69b70489c2 (patch)
tree8d62b86d6101f537a889ddfbf354951c9c59ab2f /gnu/packages/python.scm
parent85ccc0c281d8ebbe5f08b978925be7eed557284a (diff)
downloadguix-3cdab3d485d334008ea45f4993026a69b70489c2.tar
guix-3cdab3d485d334008ea45f4993026a69b70489c2.tar.gz
gnu: Add python-async-timeout.
* gnu/packages/python.scm (python-async-timeout): New variable.
Diffstat (limited to 'gnu/packages/python.scm')
-rw-r--r--gnu/packages/python.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 925976ad1f..c7851efe5e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13238,3 +13238,20 @@ generators and Python 3.7's context managers into Python 3.5.")
;; Dual licensed.
(license (list license:expat license:asl2.0))))
+(define-public python-async-timeout
+ (package
+ (name "python-async-timeout")
+ (version "2.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "async-timeout" version))
+ (sha256
+ (base32
+ "1l3kg062m02mph6rf9rdv8r5c5n356clxa6b6mrn0i77vk9g9kq0"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/aio-libs/async_timeout/")
+ (synopsis "Timeout context manager for asyncio programs")
+ (description "@code{async-timeout} provides a timeout timeout context
+manager compatible with @code{asyncio}.")
+ (license license:asl2.0)))