mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
a6c95f2706
This also unbreaks the build, as for some reason the bin directory is empty when doCheck = true and then the postFixup fails.
28 lines
798 B
Nix
28 lines
798 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.9";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-meRt2vrNC4YSk78kb+2FQKGErfo6p9ZB+JAx7AcHAeA=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|