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
|
2020-04-24 23:36:52 +00:00
|
|
|
, traitlets
|
|
|
|
, widgetsnbextension
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ipywidgets";
|
2022-04-27 09:35:20 +00:00
|
|
|
version = "7.7.0";
|
2022-05-18 14:49:53 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-05-18 14:49:53 +00:00
|
|
|
hash = "sha256-q0pVloVaiLg3YZIcdocH1l5YRwaBObwXKd3+g0cDVCo=";
|
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
|
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 ];
|
|
|
|
};
|
|
|
|
}
|