pythonPackages.pytest-qt: init at 3.2.2
This commit is contained in:
parent
7fcc79d4b7
commit
41d28d0ca4
39
pkgs/development/python-modules/pytest-qt/default.nix
Normal file
39
pkgs/development/python-modules/pytest-qt/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user