2018-04-07 20:00:09 +02:00
|
|
|
{ lib, buildPythonPackage, isPy3k, fetchPypi, ipython_genutils, jupyterlab_launcher, notebook }:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyterlab";
|
2018-06-12 18:47:02 +02:00
|
|
|
version = "0.32.1";
|
2018-04-07 20:00:09 +02:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-12 18:47:02 +02:00
|
|
|
sha256 = "88290656a2db2e38ef913a257ec283f3b5bd99144ed3d52899c9af7030077554";
|
2018-04-07 20:00:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
ipython_genutils
|
|
|
|
jupyterlab_launcher
|
|
|
|
notebook
|
|
|
|
];
|
|
|
|
|
2018-04-09 16:17:42 +02:00
|
|
|
makeWrapperArgs = [
|
|
|
|
"--set" "JUPYTERLAB_DIR" "$out/share/jupyter/lab"
|
|
|
|
];
|
|
|
|
|
2018-04-07 23:14:08 +02:00
|
|
|
# Depends on npm
|
2018-04-07 20:00:09 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|