2020-07-18 16:06:22 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder,
|
|
|
|
async_generator, traitlets, nbformat, nest-asyncio, jupyter_client,
|
|
|
|
pytest, xmltodict, nbconvert, ipywidgets
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nbclient";
|
2020-10-07 09:15:18 +00:00
|
|
|
version = "0.5.0";
|
2020-07-18 16:06:22 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-07 09:15:18 +00:00
|
|
|
sha256 = "8ad52d27ba144fca1402db014857e53c5a864a2f407be66ca9d74c3a56d6591d";
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest xmltodict nbconvert ipywidgets ];
|
|
|
|
propagatedBuildInputs = [ async_generator traitlets nbformat nest-asyncio jupyter_client ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://github.com/jupyter/nbclient";
|
|
|
|
description = "A client library for executing notebooks";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|