2017-04-18 10:53:02 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, traitlets
|
|
|
|
, jupyter_core
|
|
|
|
, pyzmq
|
|
|
|
, dateutil
|
|
|
|
, isPyPy
|
|
|
|
, py
|
2017-12-30 12:23:54 +01:00
|
|
|
, ipykernel
|
|
|
|
, ipython
|
|
|
|
, mock
|
|
|
|
, pytest
|
2018-02-03 10:52:47 +01:00
|
|
|
, tornado
|
2017-04-18 10:53:02 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyter_client";
|
2018-02-03 10:52:47 +01:00
|
|
|
version = "5.2.2";
|
2017-04-18 10:53:02 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-03 10:52:47 +01:00
|
|
|
sha256 = "83d5e23132f0d8f79ccd3939f53fb9fa97f88a896a85114dc48d0e86909b06c4";
|
2017-04-18 10:53:02 +02:00
|
|
|
};
|
|
|
|
|
2017-12-30 12:23:54 +01:00
|
|
|
checkInputs = [ ipykernel ipython mock pytest ];
|
2018-02-03 10:52:47 +01:00
|
|
|
propagatedBuildInputs = [traitlets jupyter_core pyzmq dateutil tornado ] ++ lib.optional isPyPy py;
|
2017-04-18 10:53:02 +02:00
|
|
|
|
|
|
|
checkPhase = ''
|
2017-12-30 12:23:54 +01:00
|
|
|
py.test
|
2017-04-18 10:53:02 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|