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