nixpkgs/pkgs/development/python-modules/jupyterlab/default.nix
zimbatm 48bc430dea jupyterlab: fix JUPYTERLAB_DIR lookup
without this option jupyterlab will look into the system python installation directories
2018-04-09 15:23:15 +01:00

32 lines
753 B
Nix

{ lib, buildPythonPackage, isPy3k, fetchPypi, ipython_genutils, jupyterlab_launcher, notebook }:
buildPythonPackage rec {
pname = "jupyterlab";
version = "0.31.12";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1hp6p9bsr863glildgs2iy1a4l99m7rxj2sy9fmkxp5zhyhqvsrz";
};
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 ];
};
}