depot/third_party/nixpkgs/pkgs/development/python-modules/qtconsole/default.nix
Default email 1be0098156 Project import generated by Copybara.
GitOrigin-RevId: 667e5581d16745bcda791300ae7e2d73f49fff25
2022-11-04 13:27:35 +01:00

57 lines
924 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, ipykernel
, jupyter_core
, jupyter-client
, pygments
, pyqt5
, pytestCheckHook
, pythonOlder
, pyzmq
, qtpy
, traitlets
}:
buildPythonPackage rec {
pname = "qtconsole";
version = "5.4.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-V3SOov0mMgoLd626IBMc+7E4GMfJbYP6/LEQ/1X1izU=";
};
propagatedBuildInputs = [
ipykernel
jupyter_core
jupyter-client
pygments
pyqt5
pyzmq
qtpy
traitlets
];
checkInputs = [
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;
};
}