python310Packages.qtconsole: 5.3.2 -> 5.4.0

This commit is contained in:
Fabian Affolter 2022-11-06 19:51:21 +01:00
parent e6fa5b83dc
commit 70619cbff7

View File

@ -1,38 +1,57 @@
{ lib
, buildPythonPackage
, fetchPypi
, nose
, isPy27
, mock
, traitlets
, ipykernel
, jupyter_core
, jupyter-client
, pygments
, ipykernel
, pyqt5
, pytestCheckHook
, pythonOlder
, pyzmq
, qtpy
, traitlets
}:
buildPythonPackage rec {
pname = "qtconsole";
version = "5.3.2";
version = "5.4.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-jq3wEug6sBgpWAPCR8arfqzT1aseHYig83/c/auSlaM=";
hash = "sha256-V3SOov0mMgoLd626IBMc+7E4GMfJbYP6/LEQ/1X1izU=";
};
checkInputs = [ nose ] ++ lib.optionals isPy27 [mock];
propagatedBuildInputs = [traitlets jupyter_core jupyter-client pygments ipykernel pyqt5 qtpy];
propagatedBuildInputs = [
ipykernel
jupyter_core
jupyter-client
pygments
pyqt5
pyzmq
qtpy
traitlets
];
checkInputs = [
pytestCheckHook
];
# : cannot connect to X server
doCheck = false;
meta = {
pythonImportsCheck = [
"qtconsole"
];
meta = with lib; {
description = "Jupyter Qt console";
homepage = "https://jupyter.org/";
license = lib.licenses.bsd3;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ fridh ];
homepage = "https://qtconsole.readthedocs.io/";
license = licenses.bsd3;
maintainers = with maintainers; [ fridh ];
platforms = platforms.unix;
};
}