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-08-10 07:59:29 +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";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "5.4.4";
|
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;
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-t/+1PXTyPO4p9M21Xdb6vI7DEtlPPEa6OOHd5FhpPfs=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-11-04 12:27:35 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
ipykernel
|
2023-08-10 07:59:29 +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";
|
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
|
|
|
};
|
|
|
|
}
|