1{ lib
2, buildPythonPackage
3, fetchPypi
4, jupyterlab_server
5, notebook
6, pythonOlder
7}:
8
9buildPythonPackage rec {
10 pname = "jupyterlab";
11 version = "1.2.6";
12 disabled = pythonOlder "3.5";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "0mc3nrj7fc5q2ajr09m261j386jsp8qjljg8anghlh8czc9ln4s2";
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}