2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder,
|
2020-06-25 11:43:56 +02:00
|
|
|
async_generator, traitlets, nbformat, nest-asyncio, jupyter_client,
|
|
|
|
pytest, xmltodict, nbconvert, ipywidgets
|
2020-11-29 23:51:11 +01:00
|
|
|
, doCheck ? true
|
2020-06-25 11:43:56 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nbclient";
|
2020-10-25 05:43:10 +01:00
|
|
|
version = "0.5.1";
|
2020-06-25 11:43:56 +02:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-25 05:43:10 +01:00
|
|
|
sha256 = "01e2d726d16eaf2cde6db74a87e2451453547e8832d142f73f72fddcd4fe0250";
|
2020-06-25 11:43:56 +02:00
|
|
|
};
|
|
|
|
|
2020-11-29 23:51:11 +01:00
|
|
|
inherit doCheck;
|
2020-06-25 11:43:56 +02:00
|
|
|
checkInputs = [ pytest xmltodict nbconvert ipywidgets ];
|
|
|
|
propagatedBuildInputs = [ async_generator traitlets nbformat nest-asyncio jupyter_client ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-06-25 11:43:56 +02:00
|
|
|
homepage = "https://github.com/jupyter/nbclient";
|
|
|
|
description = "A client library for executing notebooks";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|