{ lib , buildPythonPackage , fetchPypi , python , nose , pytest , mock , ipython , ipykernel , traitlets , notebook , widgetsnbextension }: buildPythonPackage rec { pname = "ipywidgets"; version = "7.0.5"; name = "${pname}-${version}"; src = fetchPypi { inherit pname version; sha256 = "321be3dc48193130ba16e8080172bb5cd052eb65e3ad0ea7b5f80ff73e24bc54"; }; # 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 ]; }; }