Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
53 lines
1.0 KiB
Nix
53 lines
1.0 KiB
Nix
{
|
|
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 = "2.1.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "jupyter_server_ydoc";
|
|
inherit version;
|
|
hash = "sha256-tSa+aEqmIev9lywYpUynxhPGfy0FHPUteiaqCS9zWkY=";
|
|
};
|
|
|
|
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;
|
|
|
|
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;
|
|
teams = [ lib.teams.jupyter ];
|
|
};
|
|
}
|