Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pytest-xvfb / default.nix
blob0b555274c90afd73d61d9630d477ac49f6416feb
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pytest
5 , pyvirtualdisplay
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "pytest-xvfb";
11   version = "3.0.0";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-N0arH00RWfA/dRY40FNonM0oQpGzi4+wPT67579pz8A=";
19   };
21   buildInputs = [
22     pytest
23   ];
25   propagatedBuildInputs = [
26     pyvirtualdisplay
27   ];
29   meta = with lib; {
30     description = "A pytest plugin to run Xvfb for tests";
31     homepage = "https://github.com/The-Compiler/pytest-xvfb";
32     changelog = "https://github.com/The-Compiler/pytest-xvfb/blob/v${version}/CHANGELOG.rst";
33     license = licenses.mit;
34     maintainers = with maintainers; [ ];
35   };