about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorRobert Schütz <nix@dotlambda.de>2023-07-18 11:45:20 -0700
committerRobert Schütz <nix@dotlambda.de>2023-08-02 09:58:55 -0700
commite206cf41b49cb2fd832c65301999a1017c23aa9f (patch)
tree263c6e4bd4f65cecc450b4330ee6dfebbf05d21a /pkgs
parent1f820d2c571ecc6443dd0e43a475caf97e4e54e9 (diff)
downloadnixlib-e206cf41b49cb2fd832c65301999a1017c23aa9f.tar
nixlib-e206cf41b49cb2fd832c65301999a1017c23aa9f.tar.gz
nixlib-e206cf41b49cb2fd832c65301999a1017c23aa9f.tar.bz2
nixlib-e206cf41b49cb2fd832c65301999a1017c23aa9f.tar.lz
nixlib-e206cf41b49cb2fd832c65301999a1017c23aa9f.tar.xz
nixlib-e206cf41b49cb2fd832c65301999a1017c23aa9f.tar.zst
nixlib-e206cf41b49cb2fd832c65301999a1017c23aa9f.zip
python310Packages.jupyterlab: 3.6.3 -> 4.0.3
Changelog: https://github.com/jupyterlab/jupyterlab/blob/v4.0.3/CHANGELOG.md
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/jupyterlab/default.nix42
1 files changed, 19 insertions, 23 deletions
diff --git a/pkgs/development/python-modules/jupyterlab/default.nix b/pkgs/development/python-modules/jupyterlab/default.nix
index 433031d73065..81c7f862f6ad 100644
--- a/pkgs/development/python-modules/jupyterlab/default.nix
+++ b/pkgs/development/python-modules/jupyterlab/default.nix
@@ -1,54 +1,50 @@
 { lib
 , buildPythonPackage
 , fetchPypi
-, ipython
+, hatch-jupyter-builder
+, hatchling
+, async-lru
 , packaging
 , tornado
+, ipykernel
 , jupyter-core
+, jupyter-lsp
 , jupyterlab_server
 , jupyter-server
-, jupyter-server-ydoc
-, notebook
+, notebook-shim
 , jinja2
 , tomli
 , pythonOlder
 , jupyter-packaging
-, pythonRelaxDepsHook
-, nbclassic
 }:
 
 buildPythonPackage rec {
   pname = "jupyterlab";
-  version = "3.6.3";
-  format = "setuptools";
+  version = "4.0.3";
+  format = "pyproject";
 
-  disabled = pythonOlder "3.7";
+  disabled = pythonOlder "3.8";
 
   src = fetchPypi {
     inherit pname version;
-    hash = "sha256-Nz6c+4py7dKUvhTxZmJWOiIM7PD7Jt56qxr5optom4I=";
+    hash = "sha256-4U0c5GphMCgRHQ1Hah19awlAA7dGK6xmn1tHgxeryzk=";
   };
 
   nativeBuildInputs = [
-    jupyter-packaging
-    pythonRelaxDepsHook
-  ];
-
-  pythonRelaxDeps = [
-    "jupyter-ydoc"
-    "jupyter-server-ydoc"
+    hatch-jupyter-builder
+    hatchling
   ];
 
   propagatedBuildInputs = [
-    ipython
+    async-lru
     packaging
     tornado
+    ipykernel
     jupyter-core
+    jupyter-lsp
     jupyterlab_server
     jupyter-server
-    jupyter-server-ydoc
-    nbclassic
-    notebook
+    notebook-shim
     jinja2
   ] ++ lib.optionals (pythonOlder "3.11") [
     tomli
@@ -68,10 +64,10 @@ buildPythonPackage rec {
   ];
 
   meta = with lib; {
-    changelog = "https://github.com/jupyterlab/jupyterlab/releases/tag/v${version}";
+    changelog = "https://github.com/jupyterlab/jupyterlab/blob/v${version}/CHANGELOG.md";
     description = "Jupyter lab environment notebook server extension";
-    license = with licenses; [ bsd3 ];
+    license = licenses.bsd3;
     homepage = "https://jupyter.org/";
-    maintainers = with maintainers; [ zimbatm ];
+    maintainers = lib.teams.jupyter.members;
   };
 }