guix-patches
[Top][All Lists]
Advanced

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

[bug#48427] [PATCH 3/5] gnu: Add python-aiostream.


From: Stefan Reichör
Subject: [bug#48427] [PATCH 3/5] gnu: Add python-aiostream.
Date: Fri, 14 May 2021 23:17:44 +0200

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 98368129ed..8e769c08f2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20187,6 +20187,36 @@ generators and Python 3.7's context managers into 
Python 3.5.")
 manager compatible with @code{asyncio}.")
     (license license:asl2.0)))
 
+(define-public python-aiostream
+  (package
+    (name "python-aiostream")
+    (version "0.4.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "aiostream" version))
+        (sha256
+          (base32
+            "1k33bxrp24pa7c3hygzkv0lqvjil689aj442hzhgzv8vsbqmwd1n"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f)) ; tests fail, not sure why
+    ;; (native-inputs
+    ;;  `(("python-pytest" ,python-pytest)
+    ;;    ("python-pytest-asyncio" ,python-pytest-asyncio)
+    ;;    ("python-pytest-cov" ,python-pytest-cov)
+    ;;    ("python-pytest-runner" ,python-pytest-runner)))
+    (home-page
+      "https://github.com/vxgmichel/aiostream";)
+    (synopsis
+      "Generator-based operators for asynchronous iteration")
+    (description
+      "aiostream provides a collection of stream operators that can be
+combined to create asynchronous pipelines of operations.  It can be seen as an
+asynchronous version of itertools, although some aspects are slightly
+different.")
+    (license license:gpl3+)))
+
 (define-public python-glob2
   (package
     (name "python-glob2")
-- 
2.25.1






reply via email to

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