ocamlPackages.hxd: 0.3.2 -> 0.3.3 (#364231)
[NixPkgs.git] / pkgs / development / python-modules / qtconsole / default.nix
blobfcda25cc9ff26e4c9725cef682280ab6affa38a0
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.1";
25   pyproject = true;
27   src = fetchFromGitHub {
28     owner = "jupyter";
29     repo = "qtconsole";
30     rev = "refs/tags/${version}";
31     hash = "sha256-esCt7UQ0va/FJ0gdSrcc/k/FgyBVqKy7ttrN6E6mx+E=";
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   };