nixpkgs/pkgs/development/python-modules/jupyterlab/default.nix
2019-11-12 17:22:21 +01:00

35 lines
741 B
Nix

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