guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/13: gnu: Add python-async-generator.


From: Nicolas Goaziou
Subject: 02/13: gnu: Add python-async-generator.
Date: Fri, 11 May 2018 05:54:57 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit bbc8c36fce6f83f3112405d5bec143eb2342b38c
Author: Nicolas Goaziou <address@hidden>
Date:   Sun Apr 22 23:59:57 2018 +0200

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 10d3d59..925976a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -51,6 +51,7 @@
 ;;; Copyright © 2018 Mathieu Lirzin <address@hidden>
 ;;; Copyright © 2018 Adam Massmann <address@hidden>
 ;;; Copyright © 2016, 2018 Tomáš Čech <address@hidden>
+;;; Copyright © 2018 Nicolas Goaziou <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -13215,3 +13216,25 @@ Parso is also able to list multiple syntax errors in 
your Python file.")
 
 (define-public python2-parso
   (package-with-python2 python-parso))
+
+(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 "@code{async_generator} back-ports Python 3.6's native async
+generators and Python 3.7's context managers into Python 3.5.")
+    ;; Dual licensed.
+    (license (list license:expat license:asl2.0))))
+



reply via email to

[Prev in Thread] Current Thread [Next in Thread]