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
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 ];
};
}