2019-07-25 16:05:24 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools_scm
|
|
|
|
, pytest
|
|
|
|
, pyqt5
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-qt";
|
2019-12-19 19:31:20 +00:00
|
|
|
version = "3.3.0";
|
2019-07-25 16:05:24 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 19:31:20 +00:00
|
|
|
sha256 = "714b0bf86c5313413f2d300ac613515db3a1aef595051ab8ba2ffe619dbe8925";
|
2019-07-25 16:05:24 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools_scm
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pytest
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pyqt5
|
|
|
|
];
|
|
|
|
|
|
|
|
# tests require X server
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "pytest support for PyQt and PySide applications";
|
|
|
|
homepage = "https://github.com/pytest-dev/pytest-qt";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ costrouc ];
|
|
|
|
};
|
|
|
|
}
|