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