Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 38 lines 777 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, nose 5, isPy27 6, mock 7, traitlets 8, jupyter_core 9, jupyter_client 10, pygments 11, ipykernel 12, pyqt5 13, qtpy 14}: 15 16buildPythonPackage rec { 17 pname = "qtconsole"; 18 version = "5.0.3"; 19 20 src = fetchPypi { 21 inherit pname version; 22 sha256 = "c091a35607d2a2432e004c4a112d241ce908086570cf68594176dd52ccaa212d"; 23 }; 24 25 checkInputs = [ nose ] ++ lib.optionals isPy27 [mock]; 26 propagatedBuildInputs = [traitlets jupyter_core jupyter_client pygments ipykernel pyqt5 qtpy]; 27 28 # : cannot connect to X server 29 doCheck = false; 30 31 meta = { 32 description = "Jupyter Qt console"; 33 homepage = "https://jupyter.org/"; 34 license = lib.licenses.bsd3; 35 platforms = lib.platforms.unix; 36 maintainers = with lib.maintainers; [ fridh ]; 37 }; 38}