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.1.1"; 17 format = "setuptools"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-QCEe+1Vq3sb6RQzMKnfVnKRKBg9PnxNoM99ZyfU45ug="; 22 }; 23 24 propagatedBuildInputs = [ 25 ipython 26 ipykernel 27 jupyterlab-widgets 28 traitlets 29 nbformat 30 pytz 31 widgetsnbextension 32 ]; 33 34 nativeCheckInputs = [ pytestCheckHook ]; 35 36 meta = { 37 description = "IPython HTML widgets for Jupyter"; 38 homepage = "https://ipython.org/"; 39 license = lib.licenses.bsd3; 40 maintainers = with lib.maintainers; [ fridh ]; 41 }; 42}