1{ lib
2, buildPythonPackage
3, fetchPypi
4, nose
5, traitlets
6, jupyter_core
7, pyzmq
8, dateutil
9, isPyPy
10, py
11}:
12
13buildPythonPackage rec {
14 pname = "jupyter_client";
15 version = "5.1.0";
16 name = "${pname}-${version}";
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "08756b021765c97bc5665390700a4255c2df31666ead8bff116b368d09912aba";
21 };
22
23 buildInputs = [ nose ];
24 propagatedBuildInputs = [traitlets jupyter_core pyzmq dateutil] ++ lib.optional isPyPy py;
25
26 checkPhase = ''
27 nosetests -v
28 '';
29
30 # Circular dependency with ipykernel
31 doCheck = false;
32
33 meta = {
34 description = "Jupyter protocol implementation and client libraries";
35 homepage = http://jupyter.org/;
36 license = lib.licenses.bsd3;
37 maintainers = with lib.maintainers; [ fridh ];
38 };
39}