push sheeet
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

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,76 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
hatchling,
# dependencies
jupyter-collaboration-ui,
jupyter-docprovider,
jupyter-server-ydoc,
jupyterlab,
# tests
dirty-equals,
httpx-ws,
pytest-jupyter,
pytest-timeout,
pytestCheckHook,
writableTmpDirAsHomeHook,
}:
buildPythonPackage rec {
pname = "jupyter-collaboration";
version = "4.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jupyterlab";
repo = "jupyter-collaboration";
tag = "v${version}";
hash = "sha256-PnfUWtOXdXYG5qfzAW5kATSQr2sWKDBNiINA8/G4ZX4=";
};
sourceRoot = "${src.name}/projects/jupyter-collaboration";
build-system = [ hatchling ];
dependencies = [
jupyter-collaboration-ui
jupyter-docprovider
jupyter-server-ydoc
jupyterlab
];
pythonImportsCheck = [ "jupyter_collaboration" ];
nativeCheckInputs = [
dirty-equals
httpx-ws
pytest-jupyter
pytest-timeout
pytestCheckHook
writableTmpDirAsHomeHook
];
pytestFlags = [
# pytest.PytestCacheWarning: could not create cache path /build/source/.pytest_cache/v/cache/nodeids: [Errno 13] Permission denied: '/build/source/pytest-cache-files-plraagdr'
"-pno:cacheprovider"
];
preCheck = ''
appendToVar enabledTestPaths "$src/tests"
'';
__darwinAllowLocalNetworking = true;
meta = {
description = "JupyterLab Extension enabling Real-Time Collaboration";
homepage = "https://github.com/jupyterlab/jupyter_collaboration";
changelog = "https://github.com/jupyterlab/jupyter_collaboration/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.bsd3;
teams = [ lib.teams.jupyter ];
};
}