1{ buildPythonPackage 2, fetchPypi 3, ipykernel 4, ipython 5, jupyterlab-widgets 6, lib 7, nbformat 8, pytestCheckHook 9, pytz 10, traitlets 11, widgetsnbextension 12}: 13 14buildPythonPackage rec { 15 pname = "ipywidgets"; 16 version = "8.0.2"; 17 format = "setuptools"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-CMt1xuCpaDYUfL/cVVgK4E0T4F0m/7w3e04caLqiix8="; 22 }; 23 24 propagatedBuildInputs = [ 25 ipython 26 ipykernel 27 jupyterlab-widgets 28 traitlets 29 nbformat 30 pytz 31 widgetsnbextension 32 ]; 33 34 checkInputs = [ pytestCheckHook ]; 35 36 meta = { 37 description = "IPython HTML widgets for Jupyter"; 38 homepage = "http://ipython.org/"; 39 license = lib.licenses.bsd3; 40 maintainers = with lib.maintainers; [ fridh ]; 41 }; 42}