nixpkgs/pkgs/development/python-modules/nbclient/default.nix
2021-03-06 16:51:22 +01:00

27 lines
766 B
Nix

{ lib, buildPythonPackage, fetchPypi, pythonOlder,
async_generator, traitlets, nbformat, nest-asyncio, jupyter_client,
pytest, xmltodict, nbconvert, ipywidgets
, doCheck ? true
}:
buildPythonPackage rec {
pname = "nbclient";
version = "0.5.3";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "db17271330c68c8c88d46d72349e24c147bb6f34ec82d8481a8f025c4d26589c";
};
inherit doCheck;
checkInputs = [ pytest xmltodict nbconvert ipywidgets ];
propagatedBuildInputs = [ async_generator traitlets nbformat nest-asyncio jupyter_client ];
meta = with lib; {
homepage = "https://github.com/jupyter/nbclient";
description = "A client library for executing notebooks";
license = licenses.bsd3;
};
}