diff --git a/pkgs/development/python-modules/jupyterlab/default.nix b/pkgs/development/python-modules/jupyterlab/default.nix index 9aedd9892b32..743e7582078b 100644 --- a/pkgs/development/python-modules/jupyterlab/default.nix +++ b/pkgs/development/python-modules/jupyterlab/default.nix @@ -1,10 +1,19 @@ { lib , buildPythonPackage , fetchPypi +, ipython +, packaging +, tornado +, jupyter-core , jupyterlab_server +, jupyter-server +, jupyter-server-ydoc , notebook +, jinja2 +, tomli , pythonOlder , jupyter-packaging +, pythonRelaxDepsHook , nbclassic }: @@ -22,12 +31,27 @@ buildPythonPackage rec { nativeBuildInputs = [ jupyter-packaging + pythonRelaxDepsHook + ]; + + pythonRelaxDeps = [ + "jupyter-ydoc" + "jupyter-server-ydoc" ]; propagatedBuildInputs = [ + ipython + packaging + tornado + jupyter-core jupyterlab_server - notebook + jupyter-server + jupyter-server-ydoc nbclassic + notebook + jinja2 + ] ++ lib.optionals (pythonOlder "3.11") [ + tomli ]; makeWrapperArgs = [