From 1945cb9740e8642aacf8163e1aa62f61d0cf6021 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Tue, 10 Oct 2023 09:10:08 +0300 Subject: [PATCH 1/2] python310Packages.jupyterhub: add missing deps --- pkgs/development/python-modules/jupyterhub/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/jupyterhub/default.nix b/pkgs/development/python-modules/jupyterhub/default.nix index d6bdedc992ae..06f5cc6bbd9a 100644 --- a/pkgs/development/python-modules/jupyterhub/default.nix +++ b/pkgs/development/python-modules/jupyterhub/default.nix @@ -15,6 +15,8 @@ , jsonschema , jupyter-telemetry , jupyterlab +, jupyter-core +, jupyter-server , mock , nbclassic , nodePackages @@ -138,6 +140,8 @@ buildPythonPackage rec { sqlalchemy tornado traitlets + jupyter-core + jupyter-server ] ++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ]; From 7d3352961a64a51521063c8ebea220e247eebcd5 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Tue, 10 Oct 2023 10:25:17 +0300 Subject: [PATCH 2/2] python310Packages.jupyterlab: add meta.mainProgram --- pkgs/development/python-modules/jupyterlab/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/jupyterlab/default.nix b/pkgs/development/python-modules/jupyterlab/default.nix index 81c7f862f6ad..eea96e8c7026 100644 --- a/pkgs/development/python-modules/jupyterlab/default.nix +++ b/pkgs/development/python-modules/jupyterlab/default.nix @@ -69,5 +69,6 @@ buildPythonPackage rec { license = licenses.bsd3; homepage = "https://jupyter.org/"; maintainers = lib.teams.jupyter.members; + mainProgram = "jupyter-lab"; }; }