3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pytest-qt/default.nix
2019-11-28 17:03:42 +10:30

40 lines
689 B
Nix

{ 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 ];
};
}