Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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.6"; 17 format = "setuptools"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-3n13nyBF1g3p9sJfZT/a4tuleJjmoShElLO6ILaJO7g="; 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}