nixpkgs/pkgs/development/python-modules/jupyterlab/default.nix

32 lines
764 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, isPy3k, fetchPypi, ipython_genutils, jupyterlab_launcher, notebook }:
buildPythonPackage rec {
pname = "jupyterlab";
2018-06-12 17:47:02 +01:00
version = "0.32.1";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
2018-06-12 17:47:02 +01:00
sha256 = "88290656a2db2e38ef913a257ec283f3b5bd99144ed3d52899c9af7030077554";
};
propagatedBuildInputs = [
ipython_genutils
jupyterlab_launcher
notebook
];
makeWrapperArgs = [
"--set" "JUPYTERLAB_DIR" "$out/share/jupyter/lab"
];
2018-04-07 22:14:08 +01:00
# Depends on npm
doCheck = false;
meta = with lib; {
description = "Jupyter lab environment notebook server extension.";
license = with licenses; [ bsd3 ];
homepage = "http://jupyter.org/";
maintainers = with maintainers; [ zimbatm ];
};
}