Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 34 lines 741 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, jupyterlab_server 5, notebook 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "jupyterlab"; 11 version = "2.2.6"; 12 disabled = pythonOlder "3.5"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "6554b022d2cd120100e165ec537c6511d70de7f89e253b3c667ea28f2a9263ff"; 17 }; 18 19 propagatedBuildInputs = [ jupyterlab_server notebook ]; 20 21 makeWrapperArgs = [ 22 "--set" "JUPYTERLAB_DIR" "$out/share/jupyter/lab" 23 ]; 24 25 # Depends on npm 26 doCheck = false; 27 28 meta = with lib; { 29 description = "Jupyter lab environment notebook server extension."; 30 license = with licenses; [ bsd3 ]; 31 homepage = "https://jupyter.org/"; 32 maintainers = with maintainers; [ zimbatm costrouc ]; 33 }; 34}