1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytest
5, virtual-display
6, isPy27
7}:
8
9buildPythonPackage rec {
10 pname = "pytest-xvfb";
11 version = "2.0.0";
12 disabled = isPy27;
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "1kyq5rg27dsnj7dc6x9y7r8vwf8rc88y2ppnnw6r96alw0nn9fn4";
17 };
18
19 propagatedBuildInputs = [
20 pytest
21 virtual-display
22 ];
23
24 meta = with lib; {
25 description = "A pytest plugin to run Xvfb for tests";
26 homepage = "https://github.com/The-Compiler/pytest-xvfb";
27 license = licenses.mit;
28 maintainers = with maintainers; [ costrouc ];
29 };
30}