2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder,
|
2020-07-18 16:06:22 +00:00
|
|
|
async_generator, traitlets, nbformat, nest-asyncio, jupyter_client,
|
|
|
|
pytest, xmltodict, nbconvert, ipywidgets
|
2020-12-07 07:45:13 +00:00
|
|
|
, doCheck ? true
|
2020-07-18 16:06:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nbclient";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "0.5.4";
|
2020-07-18 16:06:22 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "6c8ad36a28edad4562580847f9f1636fe5316a51a323ed85a24a4ad37d4aefce";
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
|
2020-12-07 07:45:13 +00:00
|
|
|
inherit doCheck;
|
2020-07-18 16:06:22 +00:00
|
|
|
checkInputs = [ pytest xmltodict nbconvert ipywidgets ];
|
|
|
|
propagatedBuildInputs = [ async_generator traitlets nbformat nest-asyncio jupyter_client ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-07-18 16:06:22 +00:00
|
|
|
homepage = "https://github.com/jupyter/nbclient";
|
|
|
|
description = "A client library for executing notebooks";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|