summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-xvfb/default.nix
blob: b9ae9be428d34495498dd82767270d796bdf8dd8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, virtual-display
}:

buildPythonPackage rec {
  pname = "pytest-xvfb";
  version = "1.2.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "a7544ca8d0c7c40db4b40d7a417a7b071c68d6ef6bdf9700872d7a167302f979";
  };

  propagatedBuildInputs = [
    pytest
    virtual-display
  ];

  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 ];
  };
}