sharlatan pushed a commit to branch python-team
in repository guix.

commit 802196a7e9b7e9aa3f76e198b9871d96df730e41
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Thu Apr 10 10:51:44 2025 +0100

    gnu: Add python-gevent-websocket.
    
    * gnu/packages/python-web.scm (python-gevent-websocket): New variable.
    
    Change-Id: I07f2305c1e1ec257f8764319eadfd28d319b54e5
---
 gnu/packages/python-web.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 50a91c8d62..0c69020ddf 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5729,6 +5729,39 @@ for the basic TCP/IP protocols.")
 concurrent HTTP client library for python using @code{gevent}.")
     (license license:expat)))
 
+(define-public python-gevent-websocket
+  (package
+    (name "python-gevent-websocket")
+    (version "0.10.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "gevent-websocket" version))
+       (sha256
+        (base32 "1c2zv2rahp1gil3cj66hfsqgy0n35hz9fny3ywhr2319d0lz7bky"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:tests? #f)) ; no tests in PyPI or git
+    (native-inputs
+     (list python-setuptools
+           python-wheel))
+    (propagated-inputs
+     (list python-gevent))
+    (home-page "https://gitlab.com/noppo/gevent-websocket";)
+    (synopsis "Websocket handler for the gevent pywsgi server")
+    (description
+     "Websocket handler for the gevent pywsgi server, a Python network
+library.
+
+Features include:
+@itemize
+@item integration on both socket level or using an abstract interface
+@item RPC and PubSub framework using @acronym{WebSocket Application Messaging
+Protocol, WAMP}
+@item easily extendible using a simple WebSocket protocol plugin API
+@end itemize")
+    (license license:asl2.0)))
+
 (define-public python-requests-oauthlib
   (package
     (name "python-requests-oauthlib")

Reply via email to