14 # optional-dependencies
27 buildPythonPackage rec {
28 pname = "pycrdt-websocket";
32 src = fetchFromGitHub {
33 owner = "jupyter-server";
34 repo = "pycrdt-websocket";
36 hash = "sha256-O0GRk81at8bgv+/4au8A55dZK2A28+ghy3sitAAZQBI=";
39 build-system = [ hatchling ];
47 optional-dependencies = {
48 django = [ channels ];
51 pythonImportsCheck = [ "pycrdt_websocket" ];
64 # requires nodejs and installed js modules
65 "tests/test_pycrdt_yjs.py"
68 __darwinAllowLocalNetworking = true;
71 description = "WebSocket Connector for pycrdt";
72 homepage = "https://github.com/jupyter-server/pycrdt-websocket";
73 changelog = "https://github.com/jupyter-server/pycrdt-websocket/blob/${src.rev}/CHANGELOG.md";
74 license = lib.licenses.mit;
75 maintainers = lib.teams.jupyter.members;