5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
59 lines
970 B
Nix
59 lines
970 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, ipykernel
|
|
, jupyter-core
|
|
, jupyter-client
|
|
, ipython_genutils
|
|
, pygments
|
|
, pyqt5
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, pyzmq
|
|
, qtpy
|
|
, traitlets
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "qtconsole";
|
|
version = "5.4.4";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-t/+1PXTyPO4p9M21Xdb6vI7DEtlPPEa6OOHd5FhpPfs=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
ipykernel
|
|
ipython_genutils
|
|
jupyter-core
|
|
jupyter-client
|
|
pygments
|
|
pyqt5
|
|
pyzmq
|
|
qtpy
|
|
traitlets
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
# : cannot connect to X server
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"qtconsole"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Jupyter Qt console";
|
|
homepage = "https://qtconsole.readthedocs.io/";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ fridh ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|