2017-04-18 11:57:10 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, isPy27
|
|
|
|
, mock
|
|
|
|
, traitlets
|
|
|
|
, jupyter_core
|
|
|
|
, jupyter_client
|
|
|
|
, pygments
|
|
|
|
, ipykernel
|
|
|
|
, pyqt5
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "qtconsole";
|
2018-11-18 22:26:05 +01:00
|
|
|
version = "4.4.3";
|
2017-04-18 11:57:10 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-18 22:26:05 +01:00
|
|
|
sha256 = "1b03n1ixzscm0jw97l4dq5iy4fslnqxq5bb8287xb7n2a1gs26xw";
|
2017-04-18 11:57:10 +02:00
|
|
|
};
|
|
|
|
|
2019-02-15 09:37:00 +01:00
|
|
|
checkInputs = [ nose ] ++ lib.optionals isPy27 [mock];
|
2017-04-18 11:57:10 +02:00
|
|
|
propagatedBuildInputs = [traitlets jupyter_core jupyter_client pygments ipykernel pyqt5];
|
|
|
|
|
|
|
|
# : cannot connect to X server
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Jupyter Qt console";
|
|
|
|
homepage = http://jupyter.org/;
|
|
|
|
license = lib.licenses.bsd3;
|
2018-12-20 22:45:07 +01:00
|
|
|
platforms = lib.platforms.unix;
|
2017-04-18 11:57:10 +02:00
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
|
|
};
|
|
|
|
}
|