diff options
Diffstat (limited to 'pkgs/development/python-modules/jupyterlab/default.nix')
-rw-r--r-- | pkgs/development/python-modules/jupyterlab/default.nix | 53 |
1 files changed, 25 insertions, 28 deletions
diff --git a/pkgs/development/python-modules/jupyterlab/default.nix b/pkgs/development/python-modules/jupyterlab/default.nix index dc48c597d5489..166a1bb82b3f0 100644 --- a/pkgs/development/python-modules/jupyterlab/default.nix +++ b/pkgs/development/python-modules/jupyterlab/default.nix @@ -1,41 +1,42 @@ -{ lib -, buildPythonPackage -, fetchPypi -, hatch-jupyter-builder -, hatchling -, async-lru -, httpx -, packaging -, tornado -, ipykernel -, jupyter-core -, jupyter-lsp -, jupyterlab-server -, jupyter-server -, notebook-shim -, jinja2 -, tomli -, pythonOlder +{ + lib, + buildPythonPackage, + fetchPypi, + hatch-jupyter-builder, + hatchling, + async-lru, + httpx, + packaging, + tornado, + ipykernel, + jupyter-core, + jupyter-lsp, + jupyterlab-server, + jupyter-server, + notebook-shim, + jinja2, + tomli, + pythonOlder, }: buildPythonPackage rec { pname = "jupyterlab"; - version = "4.1.6"; + version = "4.2.1"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-eTXza6JuthUYOk9cK7yleRtRCM4qALVQX4z9EA1TZI4="; + hash = "sha256-oQ+3EIWmkAggxi1DMkAFBGQC/8jw/eaWED43I4qDlQc="; }; - nativeBuildInputs = [ + build-system = [ hatch-jupyter-builder hatchling ]; - propagatedBuildInputs = [ + dependencies = [ async-lru httpx packaging @@ -47,9 +48,7 @@ buildPythonPackage rec { jupyter-server notebook-shim jinja2 - ] ++ lib.optionals (pythonOlder "3.11") [ - tomli - ]; + ] ++ lib.optionals (pythonOlder "3.11") [ tomli ]; makeWrapperArgs = [ "--set" @@ -60,9 +59,7 @@ buildPythonPackage rec { # Depends on npm doCheck = false; - pythonImportsCheck = [ - "jupyterlab" - ]; + pythonImportsCheck = [ "jupyterlab" ]; meta = with lib; { changelog = "https://github.com/jupyterlab/jupyterlab/blob/v${version}/CHANGELOG.md"; |