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