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-04-29 16:46:19 +00:00
|
|
|
version = "8.0.6";
|
2022-05-18 14:49:53 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-04-29 16:46:19 +00:00
|
|
|
hash = "sha256-3n13nyBF1g3p9sJfZT/a4tuleJjmoShElLO6ILaJO7g=";
|
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
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "IPython HTML widgets for Jupyter";
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://ipython.org/";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
|
|
};
|
|
|
|
}
|