587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
60 lines
1,009 B
Nix
60 lines
1,009 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.5.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-oOgGxpUduUkGKOTfgMrslmm2UUnHukD5vwM8AlpbVrw=";
|
|
};
|
|
|
|
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";
|
|
mainProgram = "jupyter-qtconsole";
|
|
homepage = "https://qtconsole.readthedocs.io/";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ fridh ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|