Subject: [bug#41807] [PATCH 04/26] gnu: Add python-curio.

From: Giacomo Leidi <[email-masked]>
Date: Thu, 11 Jun 2020 17:13:35 +0200

* gnu/packages/python-xyz.scm (python-curio): New variable.
---
 gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 03d30b9d15..ea6b68580f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20145,3 +20145,25 @@ small mappings.")
     (description "This package implements a backport of Python 3.7
 @code{contextvars} module (see PEP 567) for Python 3.6.")
     (license license:asl2.0)))
+
+(define-public python-curio
+  (package
+    (name "python-curio")
+    (version "1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "curio" version))
+       (sha256
+        (base32
+         "16wkww6kh511b9bzsfhpvrv0766cc6ssgbzz4lgpjnrzzgx21wwh"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-sphinx" ,python-sphinx)))
+    (home-page "https://github.com/dabeaz/curio")
+    (synopsis "Coroutine-based library for Python")
+    (description "Curio is a coroutine-based library for concurrent Python
+systems programming.  It provides standard programming abstractions such
+as tasks, sockets, files, locks, and queues.")
+    (license license:bsd-3)))
-- 
2.26.2