pythonPackages.jupyterlab: move jupyter-packaging to nativeBuildInputs, add pythonImportsCheck

This commit is contained in:
Sandro Jäckel 2021-04-08 21:53:54 +02:00
parent 47ef2bf153
commit 2895af7161
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -18,7 +18,9 @@ buildPythonPackage rec {
sha256 = "929c60d7fb4aa704084c02d8ededc209b8b378e0b3adab46158b7fa6acc24230";
};
propagatedBuildInputs = [ jupyterlab_server notebook jupyter-packaging nbclassic ];
nativeBuildInputs = [ jupyter-packaging ];
propagatedBuildInputs = [ jupyterlab_server notebook nbclassic ];
makeWrapperArgs = [
"--set" "JUPYTERLAB_DIR" "$out/share/jupyter/lab"
@ -27,6 +29,8 @@ buildPythonPackage rec {
# Depends on npm
doCheck = false;
pythonImportsCheck = [ "jupyterlab" ];
meta = with lib; {
description = "Jupyter lab environment notebook server extension.";
license = with licenses; [ bsd3 ];