14910f5943
GitOrigin-RevId: 5aaed40d22f0d9376330b6fa413223435ad6fee5
52 lines
930 B
Nix
52 lines
930 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, jupyterlab_server
|
|
, notebook
|
|
, pythonOlder
|
|
, jupyter-packaging
|
|
, nbclassic
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jupyterlab";
|
|
version = "3.2.6";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "04e763974010f0f424ee889238fa488ee11708d0546e6df6e2cad9e0fc724bdb";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
jupyter-packaging
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
jupyterlab_server
|
|
notebook
|
|
nbclassic
|
|
];
|
|
|
|
makeWrapperArgs = [
|
|
"--set"
|
|
"JUPYTERLAB_DIR"
|
|
"$out/share/jupyter/lab"
|
|
];
|
|
|
|
# Depends on npm
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"jupyterlab"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Jupyter lab environment notebook server extension";
|
|
license = with licenses; [ bsd3 ];
|
|
homepage = "https://jupyter.org/";
|
|
maintainers = with maintainers; [ zimbatm costrouc ];
|
|
};
|
|
}
|