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";
|
2019-07-20 09:57:50 +01:00
|
|
|
version = "5.3.1";
|
2017-04-18 09:53:02 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-07-20 09:57:50 +01:00
|
|
|
sha256 = "98e8af5edff5d24e4d31e73bc21043130ae9d955a91aa93fc0bc3b1d0f7b5880";
|
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";
|
2019-04-22 09:14:28 +01:00
|
|
|
homepage = https://jupyter.org/;
|
2017-04-18 09:53:02 +01:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
|
|
};
|
|
|
|
}
|