2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2022-11-04 12:27:35 +00:00
|
|
|
, ipykernel
|
2023-01-20 10:41:00 +00:00
|
|
|
, jupyter-core
|
2021-10-28 06:52:43 +00:00
|
|
|
, jupyter-client
|
2023-10-19 13:55:26 +00:00
|
|
|
, ipython-genutils
|
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";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "5.5.1";
|
2022-11-04 12:27:35 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-01-13 08:15:51 +00:00
|
|
|
hash = "sha256-oOgGxpUduUkGKOTfgMrslmm2UUnHukD5vwM8AlpbVrw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-11-04 12:27:35 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
ipykernel
|
2023-10-19 13:55:26 +00:00
|
|
|
ipython-genutils
|
2023-01-20 10:41:00 +00:00
|
|
|
jupyter-core
|
2022-11-04 12:27:35 +00:00
|
|
|
jupyter-client
|
|
|
|
pygments
|
|
|
|
pyqt5
|
|
|
|
pyzmq
|
|
|
|
qtpy
|
|
|
|
traitlets
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-11-04 12:27:35 +00:00
|
|
|
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";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "jupyter-qtconsole";
|
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
|
|
|
};
|
|
|
|
}
|