2022-05-18 14:49:53 +00:00
|
|
|
{ buildPythonPackage
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchPypi
|
|
|
|
, ipykernel
|
2022-05-18 14:49:53 +00:00
|
|
|
, ipython
|
2021-04-26 19:14:03 +00:00
|
|
|
, jupyterlab-widgets
|
2022-05-18 14:49:53 +00:00
|
|
|
, lib
|
|
|
|
, nbformat
|
|
|
|
, pytestCheckHook
|
2022-09-30 11:47:45 +00:00
|
|
|
, pytz
|
2020-04-24 23:36:52 +00:00
|
|
|
, traitlets
|
|
|
|
, widgetsnbextension
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ipywidgets";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "8.0.4";
|
2022-05-18 14:49:53 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-01-20 10:41:00 +00:00
|
|
|
hash = "sha256-wABad6R9d4icr+2JK1jjO0oqlnEhVEBMZUjsIicoEeo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
ipython
|
|
|
|
ipykernel
|
2021-04-26 19:14:03 +00:00
|
|
|
jupyterlab-widgets
|
2020-04-24 23:36:52 +00:00
|
|
|
traitlets
|
2022-05-18 14:49:53 +00:00
|
|
|
nbformat
|
2022-09-30 11:47:45 +00:00
|
|
|
pytz
|
2020-04-24 23:36:52 +00:00
|
|
|
widgetsnbextension
|
|
|
|
];
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "IPython HTML widgets for Jupyter";
|
|
|
|
homepage = "http://ipython.org/";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
|
|
};
|
|
|
|
}
|