forked from mirrors/nixpkgs
32 lines
773 B
Nix
32 lines
773 B
Nix
{ lib, buildPythonPackage, isPy3k, fetchPypi, ipython_genutils, jupyterlab_launcher, notebook }:
|
|
buildPythonPackage rec {
|
|
pname = "jupyterlab";
|
|
version = "0.34.6";
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "d6e5a3855a0d55e6aa4ab704379da5da3db2e652442e79acfa2e9d14ef50ccb3";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
ipython_genutils
|
|
jupyterlab_launcher
|
|
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 = "http://jupyter.org/";
|
|
maintainers = with maintainers; [ zimbatm costrouc ];
|
|
};
|
|
}
|