nixpkgs/pkgs/development/python-modules/ipywidgets/default.nix
2022-09-19 10:37:35 +02:00

43 lines
744 B
Nix

{ buildPythonPackage
, fetchPypi
, ipykernel
, ipython
, jupyterlab-widgets
, lib
, nbformat
, pytestCheckHook
, pytz
, traitlets
, widgetsnbextension
}:
buildPythonPackage rec {
pname = "ipywidgets";
version = "8.0.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-CMt1xuCpaDYUfL/cVVgK4E0T4F0m/7w3e04caLqiix8=";
};
propagatedBuildInputs = [
ipython
ipykernel
jupyterlab-widgets
traitlets
nbformat
pytz
widgetsnbextension
];
checkInputs = [ pytestCheckHook ];
meta = {
description = "IPython HTML widgets for Jupyter";
homepage = "http://ipython.org/";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};
}