2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder,
|
2021-10-28 06:52:43 +00:00
|
|
|
async_generator, traitlets, nbformat, nest-asyncio, jupyter-client,
|
2020-07-18 16:06:22 +00:00
|
|
|
pytest, xmltodict, nbconvert, ipywidgets
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nbclient";
|
2022-04-27 09:35:20 +00:00
|
|
|
version = "0.6.2";
|
|
|
|
format = "setuptools";
|
|
|
|
|
2022-02-10 20:34:41 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-04-27 09:35:20 +00:00
|
|
|
hash = "sha256-i0dVPxztB3zXxFN/1dcB1G92gfJLKCdeXMHTR+fJtGs=";
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
doCheck = false; # Avoid infinite recursion
|
2020-07-18 16:06:22 +00:00
|
|
|
checkInputs = [ pytest xmltodict nbconvert ipywidgets ];
|
2021-10-28 06:52:43 +00:00
|
|
|
propagatedBuildInputs = [ async_generator traitlets nbformat nest-asyncio jupyter-client ];
|
2020-07-18 16:06:22 +00:00
|
|
|
|
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;
|
2021-12-06 16:07:01 +00:00
|
|
|
maintainers = [ maintainers.erictapen ];
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
}
|