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-08-12 12:06:08 +00:00
|
|
|
version = "7.7.1";
|
2022-05-18 14:49:53 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-08-12 12:06:08 +00:00
|
|
|
hash = "sha256-Xy+ht6+uGvMsiAiMmCitl43pPd2jk9ftQU5VP+6T3Ks=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|