python312Packages.jupyter-server-ydoc: init at 1.0.0

https://github.com/jupyterlab/jupyter-collaboration/tree/main/projects/jupyter-server-ydoc
This commit is contained in:
natsukium 2024-11-02 10:01:13 +09:00
parent 3e566da3a7
commit 627c69bef1
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53
2 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,52 @@
{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
jsonschema,
jupyter-events,
jupyter-server,
jupyter-server-fileid,
jupyter-ydoc,
pycrdt,
pycrdt-websocket,
jupyter-collaboration,
}:
buildPythonPackage rec {
pname = "jupyter-server-ydoc";
version = "1.0.0";
pyproject = true;
src = fetchPypi {
pname = "jupyter_server_ydoc";
inherit version;
hash = "sha256-MBdSTB2gaIFbdIyPHr5+wI7aBH/Fl85ywSWxgAmjkek=";
};
build-system = [ hatchling ];
dependencies = [
jsonschema
jupyter-events
jupyter-server
jupyter-server-fileid
jupyter-ydoc
pycrdt
pycrdt-websocket
];
pythonImportsCheck = [ "jupyter_server_ydoc" ];
# no tests
doCheck = false;
passthru.tests = jupyter-collaboration.tests;
meta = {
description = "Jupyter-server extension integrating collaborative shared models";
homepage = "https://github.com/jupyterlab/jupyter-collaboration/tree/main/projects/jupyter-server-ydoc";
license = lib.licenses.bsd3;
maintainers = lib.teams.jupyter.members;
};
}

View File

@ -6658,6 +6658,8 @@ self: super: with self; {
jupyter-server-terminals = callPackage ../development/python-modules/jupyter-server-terminals { };
jupyter-server-ydoc = callPackage ../development/python-modules/jupyter-server-ydoc { };
jupyter-ui-poll = callPackage ../development/python-modules/jupyter-ui-poll { };
jupyter-ydoc = callPackage ../development/python-modules/jupyter-ydoc { };