From 55f3ca86a0ef084bb612df358dff784fdec6e652 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Thu, 7 May 2026 07:30:36 +0200 Subject: [PATCH] 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 --- gnu/packages/python-web.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index cdc1bd90a7b..7fcf8ee1414 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")