summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-05-07 07:30:36 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-05-17 14:27:31 +0100
commit55f3ca86a0ef084bb612df358dff784fdec6e652 (patch)
tree0c0ce8bd97d6cb62d30445bf3efbec60195e076b /gnu/packages/python-web.scm
parentbbb9400c4c9d51eefee41e121dfe046941c7d712 (diff)
gnu: Add python-pycrdt-websocket.
* gnu/packages/python-web.scm (python-pycrdt-websocket): New variable. Relates-to: guix/guix!8591 Change-Id: I2a05ecb85482dd6fbe83ed93003eeb7d0204ce65 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index cdc1bd90a7..7fcf8ee141 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4631,6 +4631,40 @@ the Yjs framework.")
@code{python-pycrdt}.")
(license license:expat)))
+(define-public python-pycrdt-websocket
+ (package
+ (name "python-pycrdt-websocket")
+ (version "0.16.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/y-crdt/pycrdt-websocket")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1bcxivdra0v5fwlz3hcz98vxi61884bfvcwifsdp3mji28iprv22"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; These tests require the unpackaged Yjs.
+ #:test-flags #~(list "--deselect=tests/test_pycrdt_yjs.py")))
+ (propagated-inputs
+ (list python-anyio
+ python-pycrdt
+ python-pycrdt-store))
+ (native-inputs
+ (list nss-certs-for-test
+ python-hatchling
+ python-hypercorn
+ python-httpx-ws
+ python-pytest))
+ (home-page "https://github.com/y-crdt/pycrdt-websocket")
+ (synopsis "WebSocket connector for pycrdt")
+ (description "This package provides an asynchronous @code{WebSocket}
+connector for @code{python-pycrdt}.")
+ (license license:expat)))
+
(define-public python-pycurl
(package
(name "python-pycurl")