Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 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 = "4.7.6"; 19 20 src = fetchPypi { 21 inherit pname version; 22 sha256 = "6c24397c19a49a5cf69582c931db4b0f6b00a78530a2bfd122936f2ebfae2fef"; 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}