python312Packages.jupyter-collaboration-ui: init at 1.0.0

https://github.com/jupyterlab/jupyter-collaboration/tree/main/projects/jupyter-collaboration-ui
This commit is contained in:
natsukium
2024-11-02 11:13:35 +09:00
parent 9e273e5e11
commit ab133a3158
2 changed files with 46 additions and 0 deletions
@@ -0,0 +1,44 @@
{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
hatch-jupyter-builder,
jupyter-collaboration,
}:
buildPythonPackage rec {
pname = "jupyter-collaboration-ui";
version = "1.0.0";
pyproject = true;
src = fetchPypi {
pname = "jupyter_collaboration_ui";
inherit version;
hash = "sha256-hTyUmLzRvexNTZxTv4Mbflm+OTW9j0HReLpAJuk/WnY=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail ', "jupyterlab>=4.0.0"' ""
'';
build-system = [
hatchling
hatch-jupyter-builder
];
pythonImportsCheck = [ "jupyter_collaboration_ui" ];
# no tests
doCheck = false;
passthru.tests = jupyter-collaboration.tests;
meta = {
description = "JupyterLab/Jupyter Notebook 7+ extension providing user interface integration for real time collaboration";
homepage = "https://github.com/jupyterlab/jupyter-collaboration/tree/main/projects/jupyter-collaboration-ui";
license = lib.licenses.bsd3;
maintainers = lib.teams.jupyter.members;
};
}
+2
View File
@@ -6634,6 +6634,8 @@ self: super: with self; {
jupyter-collaboration = callPackage ../development/python-modules/jupyter-collaboration { };
jupyter-collaboration-ui = callPackage ../development/python-modules/jupyter-collaboration-ui { };
jupyter-contrib-core = callPackage ../development/python-modules/jupyter-contrib-core { };
jupyter-console = callPackage ../development/python-modules/jupyter-console { };