python36Packages.jupyter_console: 5.2.0 -> 6.0.0

This commit is contained in:
Chris Ostrouchov 2018-11-03 22:12:45 -04:00 committed by Frederik Rietdijk
parent 39adcea9d6
commit 04db7b1ea8
3 changed files with 47 additions and 5 deletions

View File

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchPypi
, nose
, jupyter_client
, ipython
, ipykernel
, prompt_toolkit_1
, pygments
}:
buildPythonPackage rec {
pname = "jupyter_console";
version = "5.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "545dedd3aaaa355148093c5609f0229aeb121b4852995c2accfa64fe3e0e55cd";
};
checkInputs = [ nose ];
propagatedBuildInputs = [
jupyter_client
ipython
ipykernel
prompt_toolkit_1
pygments
];
# ValueError: underlying buffer has been detached
doCheck = false;
meta = {
description = "Jupyter terminal console";
homepage = "http://jupyter.org/";
license = lib.licenses.bsd3;
};
}

View File

@ -7,15 +7,17 @@
, ipykernel
, prompt_toolkit
, pygments
, pythonOlder
}:
buildPythonPackage rec {
pname = "jupyter_console";
version = "5.2.0";
version = "6.0.0";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "545dedd3aaaa355148093c5609f0229aeb121b4852995c2accfa64fe3e0e55cd";
sha256 = "308ce876354924fb6c540b41d5d6d08acfc946984bf0c97777c1ddcb42e0b2f5";
};
checkInputs = [ nose ];
@ -34,6 +36,5 @@ buildPythonPackage rec {
description = "Jupyter terminal console";
homepage = "http://jupyter.org/";
license = lib.licenses.bsd3;
platforms = lib.platforms.all;
};
}
}

View File

@ -1796,7 +1796,10 @@ in {
jupyter = callPackage ../development/python-modules/jupyter { };
jupyter_console = callPackage ../development/python-modules/jupyter_console { };
jupyter_console = if pythonOlder "3.5" then
callPackage ../development/python-modules/jupyter_console/5.nix { }
else
callPackage ../development/python-modules/jupyter_console { };
jupyterlab_launcher = callPackage ../development/python-modules/jupyterlab_launcher { };