Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 44 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, fetchPypi, hatchling, hatch-jupyter-builder, jupyter-collaboration,}:
buildPythonPackage rec { pname = "jupyter-collaboration-ui"; version = "2.1.0"; pyproject = true;
src = fetchPypi { pname = "jupyter_collaboration_ui"; inherit version; hash = "sha256-EaoXDM1kcpzXyRFEtP9NLo2QAn1U44FXAX61NemdfMk="; };
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;
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; teams = [ lib.teams.jupyter ]; };}