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