2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder,
|
2021-10-15 07:33:48 -03:00
|
|
|
async_generator, traitlets, nbformat, nest-asyncio, jupyter-client,
|
2020-06-25 10:43:56 +01:00
|
|
|
pytest, xmltodict, nbconvert, ipywidgets
|
2020-11-29 14:51:11 -08:00
|
|
|
, doCheck ? true
|
2020-06-25 10:43:56 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nbclient";
|
2022-01-13 16:58:34 -08:00
|
|
|
version = "0.5.10";
|
2022-01-14 02:08:23 +01:00
|
|
|
disabled = pythonOlder "3.7";
|
2020-06-25 10:43:56 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-13 16:58:34 -08:00
|
|
|
sha256 = "b5fdea88d6fa52ca38de6c2361401cfe7aaa7cd24c74effc5e489cec04d79088";
|
2020-06-25 10:43:56 +01:00
|
|
|
};
|
|
|
|
|
2020-11-29 14:51:11 -08:00
|
|
|
inherit doCheck;
|
2020-06-25 10:43:56 +01:00
|
|
|
checkInputs = [ pytest xmltodict nbconvert ipywidgets ];
|
2021-10-15 07:33:48 -03:00
|
|
|
propagatedBuildInputs = [ async_generator traitlets nbformat nest-asyncio jupyter-client ];
|
2020-06-25 10:43:56 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-06-25 10:43:56 +01:00
|
|
|
homepage = "https://github.com/jupyter/nbclient";
|
|
|
|
description = "A client library for executing notebooks";
|
|
|
|
license = licenses.bsd3;
|
2021-11-12 17:49:56 +01:00
|
|
|
maintainers = [ maintainers.erictapen ];
|
2020-06-25 10:43:56 +01:00
|
|
|
};
|
|
|
|
}
|