Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pytest-qt / default.nix
blob1996265365e15499a6989c9b870eb6eb5b18e962
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , setuptools-scm
5 , pytest
6 , pyqt5
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "pytest-qt";
12   version = "4.4.0";
13   format = "setuptools";
15   disabled = pythonOlder "3.8";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-dolhQqlApChTOQCNaSijbUvnSv7H5jRXfoQsnMXFaEQ=";
20   };
22   nativeBuildInputs = [
23     setuptools-scm
24   ];
26   buildInputs = [
27     pytest
28   ];
30   nativeCheckInputs = [
31     pyqt5
32   ];
34   pythonImportsCheck = [
35     "pytestqt"
36   ];
38   # Tests require X server
39   doCheck = false;
41   meta = with lib; {
42     description = "pytest support for PyQt and PySide applications";
43     homepage = "https://github.com/pytest-dev/pytest-qt";
44     license = licenses.mit;
45     maintainers = with maintainers; [ ];
46   };