guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 2ad8834e17ebe3921b2ebcb8aab8344c3f3630d9
Author: Hugo Buddelmeijer <[email protected]>
AuthorDate: Wed Mar 4 21:17:36 2026 +0100
gnu: Add python-pyasynchat.
* gnu/packages/python-xyz.scm (python-pyasynchat): New variable.
Change-Id: I6d1d1c69ab8ca53dca0d626887ce830ddf836384
Modified-by: Sharlatan Hellseher <[email protected]>
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
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 fb2f1957a5..5d1ccd4bb2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2082,6 +2082,35 @@ cache directory, to avoid modifying the host's
environment, and further
activated using a set of environment variables.")
(license (list license:expat license:asl2.0))))
+(define-public python-pyasynchat
+ (package
+ (name "python-pyasynchat")
+ (version "1.0.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/simonrob/pyasynchat")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1fsxr7rv662wwlpq8fklj8z6g0x9f693l0mk1qhib5v5xni99698"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest
+ python-setuptools))
+ (propagated-inputs
+ (list python-pyasyncore))
+ (home-page "https://github.com/simonrob/pyasynchat")
+ (synopsis "Make asynchat available for Python 3.12 onwards")
+ (description
+ "This package contains the
+@url{https://docs.python.org/3.11/library/asynchat.html, asynchat} module as
+found in Python versions prior to 3.12. It is provided so that existing code
+relying on @code{import asynchat} is able to continue being used without
+significant refactoring.")
+ (license license:psfl)))
+
(define-public python-pyasyncore
(package
(name "python-pyasyncore")