nixpkgs/pkgs/development/python-modules/jupyterlab/default.nix
2020-11-05 15:46:59 -08:00

35 lines
741 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, jupyterlab_server
, notebook
, pythonOlder
}:
buildPythonPackage rec {
pname = "jupyterlab";
version = "2.2.9";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "3be8f8edea173753dd838c1b6d3bbcb6f5c801121f824a477025c1b6a1d33dc6";
};
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 ];
};
}