nixpkgs-suyu/pkgs/development/python-modules/jupyterlab/default.nix
2019-12-30 16:46:43 +01:00

34 lines
741 B
Nix

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