1{ lib, buildPythonPackage, fetchPypi, pythonOlder,
2 async_generator, traitlets, nbformat, nest-asyncio, jupyter_client,
3 pytest, xmltodict, nbconvert, ipywidgets
4, doCheck ? true
5}:
6
7buildPythonPackage rec {
8 pname = "nbclient";
9 version = "0.5.3";
10 disabled = pythonOlder "3.6";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "db17271330c68c8c88d46d72349e24c147bb6f34ec82d8481a8f025c4d26589c";
15 };
16
17 inherit doCheck;
18 checkInputs = [ pytest xmltodict nbconvert ipywidgets ];
19 propagatedBuildInputs = [ async_generator traitlets nbformat nest-asyncio jupyter_client ];
20
21 meta = with lib; {
22 homepage = "https://github.com/jupyter/nbclient";
23 description = "A client library for executing notebooks";
24 license = licenses.bsd3;
25 };
26}