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 buildInputs = [ pytest ];
20
21 propagatedBuildInputs = [
22 virtual-display
23 ];
24
25 meta = with lib; {
26 description = "A pytest plugin to run Xvfb for tests";
27 homepage = "https://github.com/The-Compiler/pytest-xvfb";
28 license = licenses.mit;
29 maintainers = with maintainers; [ costrouc ];
30 };
31}