2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder,
|
2020-06-25 10:43:56 +01:00
|
|
|
async_generator, traitlets, nbformat, nest-asyncio, jupyter_client,
|
|
|
|
pytest, xmltodict, nbconvert, ipywidgets
|
2020-11-29 22:51:11 +00:00
|
|
|
, doCheck ? true
|
2020-06-25 10:43:56 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nbclient";
|
2021-02-20 09:09:11 +00:00
|
|
|
version = "0.5.2";
|
2020-06-25 10:43:56 +01:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-20 09:09:11 +00:00
|
|
|
sha256 = "0ed6e5700ad18818030a3a5f0f201408c5972d8e38793840cd9339488fd9f7c4";
|
2020-06-25 10:43:56 +01:00
|
|
|
};
|
|
|
|
|
2020-11-29 22:51:11 +00:00
|
|
|
inherit doCheck;
|
2020-06-25 10:43:56 +01:00
|
|
|
checkInputs = [ pytest xmltodict nbconvert ipywidgets ];
|
|
|
|
propagatedBuildInputs = [ async_generator traitlets nbformat nest-asyncio jupyter_client ];
|
|
|
|
|
2021-01-11 07:54:33 +00: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;
|
|
|
|
};
|
|
|
|
}
|