pythonPackages.pytest-qt: init at 3.2.2

This commit is contained in:
Chris Ostrouchov 2019-07-25 11:05:24 -04:00 committed by Marcus Boyd
parent 7fcc79d4b7
commit 41d28d0ca4
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools_scm
, pytest
, pyqt5
}:
buildPythonPackage rec {
pname = "pytest-qt";
version = "3.2.2";
src = fetchPypi {
inherit pname version;
sha256 = "f6ecf4b38088ae1092cbd5beeaf714516d1f81f8938626a2eac546206cdfe7fa";
};
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 ];
};
}

View File

@ -1159,6 +1159,8 @@ in {
pytest-pylint = callPackage ../development/python-modules/pytest-pylint { };
pytest-qt = callPackage ../development/python-modules/pytest-qt { };
pytest-testmon = callPackage ../development/python-modules/pytest-testmon { };
pytest-tornado = callPackage ../development/python-modules/pytest-tornado { };