{ lib , buildPythonPackage , fetchPypi , python , nose , pytest , mock , ipython , ipykernel , traitlets , notebook , widgetsnbextension }: buildPythonPackage rec { pname = "ipywidgets"; version = "7.2.0"; name = "${pname}-${version}"; src = fetchPypi { inherit pname version; sha256 = "f23aac2447f593dbdc89a86833a2d59666ed44af42b23c267de380c324599507"; }; # Tests are not distributed # doCheck = false; buildInputs = [ nose pytest mock ]; propagatedBuildInputs = [ ipython ipykernel traitlets notebook widgetsnbextension ]; checkPhase = '' ${python.interpreter} -m unittest discover ''; meta = { description = "IPython HTML widgets for Jupyter"; homepage = http://ipython.org/; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ fridh ]; }; }