83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
31 lines
606 B
Nix
31 lines
606 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytest
|
|
, pyvirtualdisplay
|
|
, isPy27
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-xvfb";
|
|
version = "2.0.0";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1kyq5rg27dsnj7dc6x9y7r8vwf8rc88y2ppnnw6r96alw0nn9fn4";
|
|
};
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [
|
|
pyvirtualdisplay
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A pytest plugin to run Xvfb for tests";
|
|
homepage = "https://github.com/The-Compiler/pytest-xvfb";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ costrouc ];
|
|
};
|
|
}
|