summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2025-01-12 21:02:18 +0100
committerRicardo Wurmus <rekado@elephly.net>2025-01-20 21:37:46 +0100
commitc15345c1f1f4fbd73541b731b5aad068af58c62f (patch)
tree055a8e51a507c6554893d2dfe229dd9fb5cf2636 /gnu/packages/python-web.scm
parentce87b1333b8abeca95da0828038a9c7d6aee0860 (diff)
gnu: Add python-simple-websocket.
* gnu/packages/python-web.scm (python-simple-websocket): New variable. Change-Id: Ie17eb20ad72db6331c037c52215e753f1248d144
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 61ee84f5c2d..a5f1163b405 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8555,6 +8555,33 @@ through the network, it only deals with the implementation details of the
8555SOCKS protocols. It can be paired with any I/O library.") 8555SOCKS protocols. It can be paired with any I/O library.")
8556 (license license:expat))) 8556 (license license:expat)))
8557 8557
8558(define-public python-simple-websocket
8559 (package
8560 (name "python-simple-websocket")
8561 (version "1.1.0")
8562 (source
8563 (origin
8564 (method url-fetch)
8565 (uri (pypi-uri "simple_websocket" version))
8566 (sha256
8567 (base32 "1r1all55d5dimiw3qwdhj53cxj9yjgnskcysmcscarx0g9726fbr"))))
8568 (build-system pyproject-build-system)
8569 (arguments
8570 ;; Requires Internet access to resolve example.com
8571 (list #:test-flags '(list "--ignore=tests/test_client.py")))
8572 (propagated-inputs (list python-wsproto))
8573 (native-inputs (list python-flake8
8574 python-pytest
8575 python-pytest-cov
8576 python-setuptools
8577 python-tox
8578 python-wheel))
8579 (home-page "https://github.com/miguelgrinberg/simple-websocket")
8580 (synopsis "Simple WebSocket server and client for Python")
8581 (description "This package provides a simple @code{WebSocket} server and
8582client for Python.")
8583 (license license:expat)))
8584
8558(define-public python-siosocks 8585(define-public python-siosocks
8559 (package 8586 (package
8560 (name "python-siosocks") 8587 (name "python-siosocks")