forked from mirrors/nixpkgs
25 lines
728 B
Nix
25 lines
728 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder,
|
|
async_generator, traitlets, nbformat, nest-asyncio, jupyter_client,
|
|
pytest, xmltodict, nbconvert, ipywidgets
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nbclient";
|
|
version = "0.4.0";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1id6m2dllkjpbv2w0yazxhlkhdd9cac6lxv9csf053il9wq322lk";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|