pythonPackages.jupyterlab: move jupyter-packaging to nativeBuildInputs, add pythonImportsCheck
This commit is contained in:
parent
47ef2bf153
commit
2895af7161
|
@ -18,7 +18,9 @@ buildPythonPackage rec {
|
||||||
sha256 = "929c60d7fb4aa704084c02d8ededc209b8b378e0b3adab46158b7fa6acc24230";
|
sha256 = "929c60d7fb4aa704084c02d8ededc209b8b378e0b3adab46158b7fa6acc24230";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ jupyterlab_server notebook jupyter-packaging nbclassic ];
|
nativeBuildInputs = [ jupyter-packaging ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ jupyterlab_server notebook nbclassic ];
|
||||||
|
|
||||||
makeWrapperArgs = [
|
makeWrapperArgs = [
|
||||||
"--set" "JUPYTERLAB_DIR" "$out/share/jupyter/lab"
|
"--set" "JUPYTERLAB_DIR" "$out/share/jupyter/lab"
|
||||||
|
@ -27,6 +29,8 @@ buildPythonPackage rec {
|
||||||
# Depends on npm
|
# Depends on npm
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "jupyterlab" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Jupyter lab environment notebook server extension.";
|
description = "Jupyter lab environment notebook server extension.";
|
||||||
license = with licenses; [ bsd3 ];
|
license = with licenses; [ bsd3 ];
|
||||||
|
|
Loading…
Reference in New Issue