guix-patches
[Top][All Lists]
Advanced

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

[bug#73910] [PATCH 1/3] gnu: Add python-asyncstdlib.


From: Troy Figiel
Subject: [bug#73910] [PATCH 1/3] gnu: Add python-asyncstdlib.
Date: Sun, 20 Oct 2024 00:49:25 +0200

* gnu/packages/python-xyz.scm (python-asyncstdlib): New variable.

Change-Id: I2554c120e070b0c84a7228a20cfa22abfd84c846
---
 gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8849096026..84c642f485 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -404,6 +404,30 @@ (define-public python-archspec
 APIs to detect, query, and compare them.")
     (license license:expat)))
 
+(define-public python-asyncstdlib
+  (package
+    (name "python-asyncstdlib")
+    (version "3.12.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "asyncstdlib" version))
+       (sha256
+        (base32 "1nr7rhfcqyzhv8lnj2rpgg60sw795xqp11a58dky8nfbd9gh5c3y"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-flit-core python-pytest))
+    (home-page "https://asyncstdlib.readthedocs.io";)
+    (synopsis "Compatibility layer between the Python stdlib and @code{async}
+callables")
+    (description
+     "The @code{asyncstdlib} library re-implements functions and classes of
+the Python standard library to make them compatible with @code{async}
+callables, iterables and context managers.  It is fully agnostic to
+@code{async} event loops and seamlessly works with @code{asyncio}, third-party
+libraries such as @code{trio}, as well as any custom @code{async} event
+loop.")
+    (license license:expat)))
+
 (define-public python-awkward-cpp
   (package
     (name "python-awkward-cpp")
-- 
2.46.0






reply via email to

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