1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-22 09:20:58 +03:00
nixpkgs/pkgs/development/python-modules/nbclient/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
812 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, pythonOlder,
async_generator, traitlets, nbformat, nest-asyncio, jupyter-client,
2020-06-25 10:43:56 +01:00
pytest, xmltodict, nbconvert, ipywidgets
, doCheck ? true
2020-06-25 10:43:56 +01:00
}:
buildPythonPackage rec {
pname = "nbclient";
version = "0.5.10";
disabled = pythonOlder "3.7";
2020-06-25 10:43:56 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "b5fdea88d6fa52ca38de6c2361401cfe7aaa7cd24c74effc5e489cec04d79088";
2020-06-25 10:43:56 +01:00
};
inherit doCheck;
2020-06-25 10:43:56 +01:00
checkInputs = [ pytest xmltodict nbconvert ipywidgets ];
propagatedBuildInputs = [ async_generator traitlets nbformat nest-asyncio jupyter-client ];
2020-06-25 10:43:56 +01:00
meta = with lib; {
2020-06-25 10:43:56 +01:00
homepage = "https://github.com/jupyter/nbclient";
description = "A client library for executing notebooks";
license = licenses.bsd3;
maintainers = [ maintainers.erictapen ];
2020-06-25 10:43:56 +01:00
};
}