Files
nixpkgs/pkgs/development/python-modules/pytest-qt/default.nix
Martin Weinelt b935896640 python3Packages.pytest-qt: 4.4.0 -> 4.5.0
This commit was automatically generated using update-python-libraries.
2025-08-09 19:02:46 +02:00

47 lines
831 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools-scm,
pytest,
pluggy,
typing-extensions,
pyqt5,
}:
buildPythonPackage rec {
pname = "pytest-qt";
version = "4.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pytest-dev";
repo = "pytest-qt";
tag = version;
hash = "sha256-ZCWWhd1/7qdSgGLNbsjPlxg24IFdqbNtLRktgMFVCJY=";
};
build-system = [ setuptools-scm ];
buildInputs = [ pytest ];
dependencies = [
pluggy
typing-extensions
];
nativeCheckInputs = [ pyqt5 ];
pythonImportsCheck = [ "pytestqt" ];
# 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 = [ ];
};
}