1{ lib 2, buildPythonPackage 3, fetchPypi 4, jupyterlab_server 5, notebook 6, pythonOlder 7, jupyter-packaging 8, nbclassic 9}: 10 11buildPythonPackage rec { 12 pname = "jupyterlab"; 13 version = "3.2.3"; 14 disabled = pythonOlder "3.5"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "7d74593e52d4dbfacbb98e14cac4bc765ea2cffb1b980675f44930d622871705"; 19 }; 20 21 nativeBuildInputs = [ jupyter-packaging ]; 22 23 propagatedBuildInputs = [ jupyterlab_server notebook nbclassic ]; 24 25 makeWrapperArgs = [ 26 "--set" "JUPYTERLAB_DIR" "$out/share/jupyter/lab" 27 ]; 28 29 # Depends on npm 30 doCheck = false; 31 32 pythonImportsCheck = [ "jupyterlab" ]; 33 34 meta = with lib; { 35 description = "Jupyter lab environment notebook server extension."; 36 license = with licenses; [ bsd3 ]; 37 homepage = "https://jupyter.org/"; 38 maintainers = with maintainers; [ zimbatm costrouc ]; 39 }; 40}