Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 37 lines 751 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}: 14 15buildPythonPackage rec { 16 pname = "qtconsole"; 17 version = "4.5.5"; 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "1nf64wl3ni0q69ihcm5y6zl12mmg7gvkhrb98hbgwv3yb09787mr"; 22 }; 23 24 checkInputs = [ nose ] ++ lib.optionals isPy27 [mock]; 25 propagatedBuildInputs = [traitlets jupyter_core jupyter_client pygments ipykernel pyqt5]; 26 27 # : cannot connect to X server 28 doCheck = false; 29 30 meta = { 31 description = "Jupyter Qt console"; 32 homepage = https://jupyter.org/; 33 license = lib.licenses.bsd3; 34 platforms = lib.platforms.unix; 35 maintainers = with lib.maintainers; [ fridh ]; 36 }; 37}