python310Packages.pytest-xvfb: disable on unsupported Python releases

- add format
This commit is contained in:
Fabian Affolter 2023-06-10 15:44:13 +02:00 committed by GitHub
parent d25dbd13fb
commit 2b09bcb52b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,20 +3,24 @@
, fetchPypi
, pytest
, pyvirtualdisplay
, isPy27
, pythonOlder
}:
buildPythonPackage rec {
pname = "pytest-xvfb";
version = "3.0.0";
disabled = isPy27;
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-N0arH00RWfA/dRY40FNonM0oQpGzi4+wPT67579pz8A=";
};
buildInputs = [ pytest ];
buildInputs = [
pytest
];
propagatedBuildInputs = [
pyvirtualdisplay