unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stefan Reichör" <stefan@xsteve.at>
To: 48427@debbugs.gnu.org
Cc: "Stefan Reichör" <stefan@xsteve.at>
Subject: [bug#48427] [PATCH] gnu: Add python-aiostream.
Date: Sat, 29 May 2021 22:38:41 +0200	[thread overview]
Message-ID: <20210529203841.157978-1-stefan@xsteve.at> (raw)
In-Reply-To: <20210514211746.143145-3-stefan@xsteve.at>

* gnu/packages/python-xyz.scm (python-aiostream): New variable.
---
Vinicius, thanks for your review.
Here is my attempt to follow your hints

 gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9b9510f043..a465ecbda6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20232,6 +20232,35 @@ 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 git-fetch)
+       (uri (git-reference
+             (url "https://github.com/vxgmichel/aiostream")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1r3x9qwl08yscmzvhafc6gsmq84lr17s6p7a1qxr49cmdvjzsc13"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:test-target "pytest"))
+    (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





  parent reply	other threads:[~2021-05-29 20:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-14 21:17 [bug#48428] [PATCH 1/5] gnu: python-pyte: Update to 0.8.0 Stefan Reichör
2021-05-14 21:17 ` [bug#48426] [PATCH 2/5] gnu: Add python-easy-ansi Stefan Reichör
2021-05-29 20:28   ` [bug#48426] [PATCH] " Stefan Reichör
2021-05-31 19:05     ` bug#48426: " Nicolas Goaziou
2021-05-14 21:17 ` [bug#48427] [PATCH 3/5] gnu: Add python-aiostream Stefan Reichör
2021-05-18 22:31   ` Vinicius Monego
2021-05-29 20:38   ` Stefan Reichör [this message]
2023-05-29 11:17     ` bug#48427: " Jelle Licht
2021-05-14 21:17 ` [bug#48429] [PATCH 4/5] gnu: Add python-aiofiles-0.5.0 Stefan Reichör
2021-05-14 21:17 ` [bug#48430] [PATCH 5/5] gnu: Add python-multiplex Stefan Reichör
2021-05-29 21:10   ` [bug#48430] [PATCH] " Stefan Reichör
2021-11-11  4:52     ` Vinicius Monego
2023-10-12  1:42 ` bug#48428: [PATCH 1/5] gnu: python-pyte: Update to 0.8.0 jgart via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210529203841.157978-1-stefan@xsteve.at \
    --to=stefan@xsteve.at \
    --cc=48427@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).