2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2022-11-04 12:27:35 +00:00
|
|
|
, ipykernel
|
2020-04-24 23:36:52 +00:00
|
|
|
, jupyter_core
|
2021-10-28 06:52:43 +00:00
|
|
|
, jupyter-client
|
2020-04-24 23:36:52 +00:00
|
|
|
, pygments
|
|
|
|
, pyqt5
|
2022-11-04 12:27:35 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
, pyzmq
|
2020-05-15 21:57:56 +00:00
|
|
|
, qtpy
|
2022-11-04 12:27:35 +00:00
|
|
|
, traitlets
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "qtconsole";
|
2022-11-04 12:27:35 +00:00
|
|
|
version = "5.4.0";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-11-04 12:27:35 +00:00
|
|
|
hash = "sha256-V3SOov0mMgoLd626IBMc+7E4GMfJbYP6/LEQ/1X1izU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-11-04 12:27:35 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
ipykernel
|
|
|
|
jupyter_core
|
|
|
|
jupyter-client
|
|
|
|
pygments
|
|
|
|
pyqt5
|
|
|
|
pyzmq
|
|
|
|
qtpy
|
|
|
|
traitlets
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# : cannot connect to X server
|
|
|
|
doCheck = false;
|
|
|
|
|
2022-11-04 12:27:35 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"qtconsole"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Jupyter Qt console";
|
2022-11-04 12:27:35 +00:00
|
|
|
homepage = "https://qtconsole.readthedocs.io/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ fridh ];
|
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|