Subject: [bug#31241] [PATCH 02/13] gnu: Add python-async-generator.

From: Nicolas Goaziou <[email-masked]>
Date: Mon, 23 Apr 2018 01:04:09 +0200

* gnu/packages/python-web.scm (python-async-generator): New variable.
---
 gnu/packages/python-web.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d15ad92a5..7ec9bbb31 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -24,6 +24,7 @@
 ;;; Copyright © 2015, 2016 David Thompson <[email-masked]>
 ;;; Copyright © 2017 Mark Meyer <[email-masked]>
 ;;; Copyright © 2018 Tomáš Čech <[email-masked]>
+;;; Copyright © 2018 Nicolas Goaziou <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -59,6 +60,25 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (srfi srfi-1))
 
+(define-public python-async-generator
+  (package
+    (name "python-async-generator")
+    (version "1.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "async_generator" version))
+       (sha256
+        (base32
+         "0wc3hidz1q85cja93k5pzybn0fprfnqyrv4qlkdqdzklc5f4dmdp"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (home-page "https://github.com/python-trio/async_generator")
+    (synopsis "Async generators and context managers for Python 3.5+")
+    (description "Async generators and context managers for Python 3.5+")
+    (license license:expat)))
+
 (define-public python-furl
   (package
     (name "python-furl")
-- 
2.17.0