2018-04-07 18:00:09 +00:00
|
|
|
{ lib, buildPythonPackage, isPy3k, fetchPypi, ipython_genutils, jupyterlab_launcher, notebook }:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyterlab";
|
2018-08-08 08:16:13 +00:00
|
|
|
version = "0.33.7";
|
2018-04-07 18:00:09 +00:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-08-08 08:16:13 +00:00
|
|
|
sha256 = "ab9f7bcbc3b4e107897f368aa0527cdc1b4ccf0c370e218ae03ac1d75fac261c";
|
2018-04-07 18:00:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
ipython_genutils
|
|
|
|
jupyterlab_launcher
|
|
|
|
notebook
|
|
|
|
];
|
|
|
|
|
2018-04-09 14:17:42 +00:00
|
|
|
makeWrapperArgs = [
|
|
|
|
"--set" "JUPYTERLAB_DIR" "$out/share/jupyter/lab"
|
|
|
|
];
|
|
|
|
|
2018-04-07 21:14:08 +00:00
|
|
|
# Depends on npm
|
2018-04-07 18:00:09 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Jupyter lab environment notebook server extension.";
|
|
|
|
license = with licenses; [ bsd3 ];
|
|
|
|
homepage = "http://jupyter.org/";
|
2018-08-08 08:16:13 +00:00
|
|
|
maintainers = with maintainers; [ zimbatm costrouc ];
|
2018-04-07 18:00:09 +00:00
|
|
|
};
|
|
|
|
}
|