python310Packages.pytest-xvfb: disable on unsupported Python releases
- add format
This commit is contained in:
parent
d25dbd13fb
commit
2b09bcb52b
1 changed files with 7 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue