39 lines
777 B
Nix
39 lines
777 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
, isPy27
|
|
, mock
|
|
, traitlets
|
|
, jupyter_core
|
|
, jupyter_client
|
|
, pygments
|
|
, ipykernel
|
|
, pyqt5
|
|
, qtpy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "qtconsole";
|
|
version = "4.7.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "6c24397c19a49a5cf69582c931db4b0f6b00a78530a2bfd122936f2ebfae2fef";
|
|
};
|
|
|
|
checkInputs = [ nose ] ++ lib.optionals isPy27 [mock];
|
|
propagatedBuildInputs = [traitlets jupyter_core jupyter_client pygments ipykernel pyqt5 qtpy];
|
|
|
|
# : 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 ];
|
|
};
|
|
}
|