2018-04-07 19:00:09 +01:00
|
|
|
{ lib, buildPythonPackage, isPy3k, fetchPypi, ipython_genutils, jupyterlab_launcher, notebook }:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyterlab";
|
2018-06-12 17:47:02 +01:00
|
|
|
version = "0.32.1";
|
2018-04-07 19:00:09 +01:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-12 17:47:02 +01:00
|
|
|
sha256 = "88290656a2db2e38ef913a257ec283f3b5bd99144ed3d52899c9af7030077554";
|
2018-04-07 19:00:09 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
ipython_genutils
|
|
|
|
jupyterlab_launcher
|
|
|
|
notebook
|
|
|
|
];
|
|
|
|
|
2018-04-09 15:17:42 +01:00
|
|
|
makeWrapperArgs = [
|
|
|
|
"--set" "JUPYTERLAB_DIR" "$out/share/jupyter/lab"
|
|
|
|
];
|
|
|
|
|
2018-04-07 22:14:08 +01:00
|
|
|
# Depends on npm
|
2018-04-07 19:00:09 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Jupyter lab environment notebook server extension.";
|
|
|
|
license = with licenses; [ bsd3 ];
|
|
|
|
homepage = "http://jupyter.org/";
|
|
|
|
maintainers = with maintainers; [ zimbatm ];
|
|
|
|
};
|
|
|
|
}
|