2018-11-04 03:14:36 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, jupyterlab_server
|
|
|
|
, notebook
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
2018-04-07 20:00:09 +02:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyterlab";
|
2020-06-05 19:44:35 +02:00
|
|
|
version = "2.1.4";
|
2018-11-04 03:14:36 +01:00
|
|
|
disabled = pythonOlder "3.5";
|
2018-04-07 20:00:09 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-05 19:44:35 +02:00
|
|
|
sha256 = "7b5bd4a05330a01c8522ee7f1cda5cb2e0d96412d9e1e879a19b3afb63d4ac69";
|
2018-04-07 20:00:09 +02:00
|
|
|
};
|
|
|
|
|
2018-11-04 03:14:36 +01:00
|
|
|
propagatedBuildInputs = [ jupyterlab_server notebook ];
|
2018-04-07 20:00:09 +02:00
|
|
|
|
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 ];
|
2019-04-22 10:14:28 +02:00
|
|
|
homepage = "https://jupyter.org/";
|
2018-08-08 10:16:13 +02:00
|
|
|
maintainers = with maintainers; [ zimbatm costrouc ];
|
2018-04-07 20:00:09 +02:00
|
|
|
};
|
|
|
|
}
|