{ lib , buildPythonPackage , fetchPypi , nose , isPy27 , mock , traitlets , jupyter_core , jupyter_client , pygments , ipykernel , pyqt5 }: buildPythonPackage rec { pname = "qtconsole"; version = "4.5.2"; src = fetchPypi { inherit pname version; sha256 = "0z6d2rmzrx2dzbx94xxmsrl6vn6jjpzvb6014y2bqhwr7znbjzkn"; }; checkInputs = [ nose ] ++ lib.optionals isPy27 [mock]; propagatedBuildInputs = [traitlets jupyter_core jupyter_client pygments ipykernel pyqt5]; # : cannot connect to X server doCheck = false; meta = { description = "Jupyter Qt console"; homepage = https://jupyter.org/; license = lib.licenses.bsd3; platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ fridh ]; }; }