37 lines
802 B
Nix
37 lines
802 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, jupyterlab_server
|
|
, notebook
|
|
, pythonOlder
|
|
, jupyter-packaging
|
|
, nbclassic
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jupyterlab";
|
|
version = "3.0.12";
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "929c60d7fb4aa704084c02d8ededc209b8b378e0b3adab46158b7fa6acc24230";
|
|
};
|
|
|
|
propagatedBuildInputs = [ jupyterlab_server notebook jupyter-packaging nbclassic ];
|
|
|
|
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 ];
|
|
};
|
|
}
|