1{ lib
2, buildPythonPackage
3, fetchPypi
4, setuptools_scm
5, pytest
6, pyqt5
7}:
8
9buildPythonPackage rec {
10 pname = "pytest-qt";
11 version = "3.3.0";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "714b0bf86c5313413f2d300ac613515db3a1aef595051ab8ba2ffe619dbe8925";
16 };
17
18 nativeBuildInputs = [
19 setuptools_scm
20 ];
21
22 buildInputs = [
23 pytest
24 ];
25
26 checkInputs = [
27 pyqt5
28 ];
29
30 # tests require X server
31 doCheck = false;
32
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 };
39}