Merge pull request #38566 from zimbatm/jupyterlab-0.31.12

Jupyterlab 0.31.12
This commit is contained in:
Frederik Rietdijk 2018-04-11 07:49:44 +02:00 committed by GitHub
commit e5c1c3b47e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 58 additions and 19 deletions

View File

@ -0,0 +1,31 @@
{ 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 ];
};
}

View File

@ -0,0 +1,25 @@
{ lib, buildPythonPackage, fetchPypi, jsonschema, notebook }:
buildPythonPackage rec {
pname = "jupyterlab_launcher";
version = "0.10.5";
src = fetchPypi {
inherit pname version;
sha256 = "1v1ir182zm2dl14lqvqjhx2x40wnp0i32n6rldxnm1allfpld1n7";
};
propagatedBuildInputs = [
jsonschema
notebook
];
# depends on requests and a bunch of other libraries
doCheck = false;
meta = with lib; {
description = "This package is used to launch an application built using JupyterLab";
license = with licenses; [ bsd3 ];
homepage = "http://jupyter.org/";
maintainers = with maintainers; [ zimbatm ];
};
}

View File

@ -3465,26 +3465,9 @@ in {
jupyter_console = callPackage ../development/python-modules/jupyter_console { };
jupyterlab = buildPythonPackage rec {
name = "jupyterlab-${version}";
version = "0.4.1";
jupyterlab_launcher = callPackage ../development/python-modules/jupyterlab_launcher { };
src = pkgs.fetchurl {
url = "mirror://pypi/j/jupyterlab/${name}.tar.gz";
sha256 = "91dc4d7dfb1e6ab97e28d6e3a2fc38f5f65d368201c00fd0ed077519258e67bb";
};
propagatedBuildInputs = with self; [ notebook ];
# No tests in archive
doCheck = false;
meta = {
description = "Jupyter lab environment notebook server extension.";
license = with licenses; [ bsd3 ];
homepage = "http://jupyter.org/";
};
};
jupyterlab = callPackage ../development/python-modules/jupyterlab {};
PyLTI = callPackage ../development/python-modules/pylti { };