mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
28 lines
799 B
Nix
28 lines
799 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.11";
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-dRUWmS80tYFyutVO7x5L9+T0Rg1Y4lXKGk5clklHYAc=";
|
|
};
|
|
|
|
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;
|
|
maintainers = [ maintainers.erictapen ];
|
|
};
|
|
}
|