2018-11-04 03:11:11 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, isPy27
|
|
|
|
, mock
|
|
|
|
, ipython
|
|
|
|
, jupyter_client
|
|
|
|
, pexpect
|
|
|
|
, traitlets
|
|
|
|
, tornado
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ipykernel";
|
2019-10-16 11:43:08 +02:00
|
|
|
version = "4.10.1";
|
2018-11-04 03:11:11 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-16 11:43:08 +02:00
|
|
|
sha256 = "eeb74b2bcfe0ced5a7900361f98fa1171288aa47ed4b522efe5acb167c6cf5fb";
|
2018-11-04 03:11:11 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose ] ++ lib.optional isPy27 mock;
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
ipython
|
|
|
|
jupyter_client
|
|
|
|
pexpect
|
|
|
|
traitlets
|
|
|
|
tornado
|
|
|
|
];
|
|
|
|
|
|
|
|
# Tests require backends.
|
|
|
|
# I don't want to add all supported backends as propagatedBuildInputs
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "IPython Kernel for Jupyter";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://ipython.org/";
|
2018-11-04 03:11:11 +01:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|