2017-04-18 09:53:02 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, traitlets
|
|
|
|
, jupyter_core
|
|
|
|
, pyzmq
|
|
|
|
, dateutil
|
|
|
|
, isPyPy
|
|
|
|
, py
|
2017-12-30 11:23:54 +00:00
|
|
|
, ipykernel
|
|
|
|
, ipython
|
|
|
|
, mock
|
|
|
|
, pytest
|
2018-02-03 09:52:47 +00:00
|
|
|
, tornado
|
2017-04-18 09:53:02 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyter_client";
|
2018-04-04 19:10:02 +01:00
|
|
|
version = "5.2.3";
|
2017-04-18 09:53:02 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 19:10:02 +01:00
|
|
|
sha256 = "27befcf0446b01e29853014d6a902dd101ad7d7f94e2252b1adca17c3466b761";
|
2017-04-18 09:53:02 +01:00
|
|
|
};
|
|
|
|
|
2017-12-30 11:23:54 +00:00
|
|
|
checkInputs = [ ipykernel ipython mock pytest ];
|
2018-02-03 09:52:47 +00:00
|
|
|
propagatedBuildInputs = [traitlets jupyter_core pyzmq dateutil tornado ] ++ lib.optional isPyPy py;
|
2017-04-18 09:53:02 +01:00
|
|
|
|
|
|
|
checkPhase = ''
|
2017-12-30 11:23:54 +00:00
|
|
|
py.test
|
2017-04-18 09:53:02 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
# Circular dependency with ipykernel
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Jupyter protocol implementation and client libraries";
|
|
|
|
homepage = http://jupyter.org/;
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
|
|
};
|
|
|
|
}
|