biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pytest-xvfb / default.nix
blob0923c9b98bcea51bca62e1641c2e12dc42c8e013
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pytest,
6   pyvirtualdisplay,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "pytest-xvfb";
12   version = "3.0.0";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-N0arH00RWfA/dRY40FNonM0oQpGzi4+wPT67579pz8A=";
20   };
22   buildInputs = [ pytest ];
24   propagatedBuildInputs = [ pyvirtualdisplay ];
26   meta = with lib; {
27     description = "Pytest plugin to run Xvfb for tests";
28     homepage = "https://github.com/The-Compiler/pytest-xvfb";
29     changelog = "https://github.com/The-Compiler/pytest-xvfb/blob/v${version}/CHANGELOG.rst";
30     license = licenses.mit;
31     maintainers = [ ];
32   };