35 lines
741 B
Nix
35 lines
741 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, jupyterlab_server
|
|
, notebook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jupyterlab";
|
|
version = "2.1.4";
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "7b5bd4a05330a01c8522ee7f1cda5cb2e0d96412d9e1e879a19b3afb63d4ac69";
|
|
};
|
|
|
|
propagatedBuildInputs = [ jupyterlab_server notebook ];
|
|
|
|
makeWrapperArgs = [
|
|
"--set" "JUPYTERLAB_DIR" "$out/share/jupyter/lab"
|
|
];
|
|
|
|
# Depends on npm
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Jupyter lab environment notebook server extension.";
|
|
license = with licenses; [ bsd3 ];
|
|
homepage = "https://jupyter.org/";
|
|
maintainers = with maintainers; [ zimbatm costrouc ];
|
|
};
|
|
}
|