2020-06-25 10:43:56 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder,
|
|
|
|
async_generator, traitlets, nbformat, nest-asyncio, jupyter_client,
|
|
|
|
pytest, xmltodict, nbconvert, ipywidgets
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nbclient";
|
2020-07-31 09:56:41 +01:00
|
|
|
version = "0.4.1";
|
2020-06-25 10:43:56 +01:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-31 09:56:41 +01:00
|
|
|
sha256 = "31fdb4bd45ebcd98eeda01e2c38fb391eae8a8480bdddbebb6cfd088486948a7";
|
2020-06-25 10:43:56 +01: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;
|
|
|
|
};
|
|
|
|
}
|