aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-04-10 10:51:44 +0100
committerAndreas Enge <andreas@enge.fr>2025-04-16 11:46:33 +0200
commit4db0aaf4ad08b334fcde872fd7bbaf0b3a15009d (patch)
treed93bdbf591091552788ff201ac60a2fcfe6a5abe
parentcf6e0232f34d81ead293c2b2a8697b2ca6b50760 (diff)
downloadguix-4db0aaf4ad08b334fcde872fd7bbaf0b3a15009d.tar.gz
guix-4db0aaf4ad08b334fcde872fd7bbaf0b3a15009d.zip
gnu: Add python-gevent-websocket.
* gnu/packages/python-web.scm (python-gevent-websocket): New variable. Change-Id: I07f2305c1e1ec257f8764319eadfd28d319b54e5
-rw-r--r--gnu/packages/python-web.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 236cbed982..0c32b9ab48 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5730,6 +5730,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")