biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / qtconsole / default.nix
blob858785307a47bd02e3e9ee4453888f9cfa43f63b
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
6   # build-system
7   setuptools,
9   # dependencies
10   ipykernel,
11   jupyter-core,
12   jupyter-client,
13   pygments,
14   pyqt5,
15   qtpy,
16   traitlets,
18   # tests
19   pytestCheckHook,
22 buildPythonPackage rec {
23   pname = "qtconsole";
24   version = "5.6.0";
25   pyproject = true;
27   src = fetchFromGitHub {
28     owner = "jupyter";
29     repo = "qtconsole";
30     rev = "refs/tags/${version}";
31     hash = "sha256-V82tGAmpvfGeUoewtJXXsBBXx2HNcV9/IMJxJg3bJL8=";
32   };
34   build-system = [ setuptools ];
36   dependencies = [
37     ipykernel
38     jupyter-core
39     jupyter-client
40     pygments
41     pyqt5
42     qtpy
43     traitlets
44   ];
46   nativeCheckInputs = [ pytestCheckHook ];
48   # : cannot connect to X server
49   doCheck = false;
51   pythonImportsCheck = [ "qtconsole" ];
53   meta = {
54     description = "Jupyter Qt console";
55     mainProgram = "jupyter-qtconsole";
56     homepage = "https://qtconsole.readthedocs.io/";
57     changelog = "https://qtconsole.readthedocs.io/en/stable/changelog.html#changes-in-jupyter-qt-console";
58     license = lib.licenses.bsd3;
59     platforms = lib.platforms.unix;
60     maintainers = with lib.maintainers; [ GaetanLepage ];
61   };