linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / pytest-qt / default.nix
blobc91c3eae4abe66fa3341490208dbd030aa5d13f2
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , setuptools_scm
5 , pytest
6 , pyqt5
7 }:
9 buildPythonPackage rec {
10   pname = "pytest-qt";
11   version = "3.3.0";
13   src = fetchPypi {
14     inherit pname version;
15     sha256 = "714b0bf86c5313413f2d300ac613515db3a1aef595051ab8ba2ffe619dbe8925";
16   };
18   nativeBuildInputs = [
19     setuptools_scm
20   ];
22   buildInputs = [
23     pytest
24   ];
26   checkInputs = [
27     pyqt5
28   ];
30   # tests require X server
31   doCheck = false;
33   meta = with lib; {
34     description = "pytest support for PyQt and PySide applications";
35     homepage = "https://github.com/pytest-dev/pytest-qt";
36     license = licenses.mit;
37     maintainers = with maintainers; [ costrouc ];
38   };