1{ lib, buildPythonPackage, isPy3k, fetchPypi, ipython_genutils, jupyterlab_launcher, notebook }:
2buildPythonPackage rec {
3 pname = "jupyterlab";
4 version = "0.34.6";
5 disabled = !isPy3k;
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "d6e5a3855a0d55e6aa4ab704379da5da3db2e652442e79acfa2e9d14ef50ccb3";
10 };
11
12 propagatedBuildInputs = [
13 ipython_genutils
14 jupyterlab_launcher
15 notebook
16 ];
17
18 makeWrapperArgs = [
19 "--set" "JUPYTERLAB_DIR" "$out/share/jupyter/lab"
20 ];
21
22 # Depends on npm
23 doCheck = false;
24
25 meta = with lib; {
26 description = "Jupyter lab environment notebook server extension.";
27 license = with licenses; [ bsd3 ];
28 homepage = "http://jupyter.org/";
29 maintainers = with maintainers; [ zimbatm costrouc ];
30 };
31}