summary refs log tree commit diff
path: root/pkgs/development/python-modules/xvfbwrapper/default.nix
blob: c7708d0f20b7319f27a01371e1a4b0d07b6979b2 (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
29
{ stdenv
, buildPythonPackage
, fetchPypi
, xorgserver
, mock
}:

buildPythonPackage rec {
  pname = "xvfbwrapper";
  version = "0.2.9";

  src = fetchPypi {
    inherit pname version;
    sha256 = "097wxhvp01ikqpg1z3v8rqhss6f1vwr399zpz9a05d2135bsxx5w";
  };
  propagatedBuildInputs = [ xorgserver ];

  # See: https://github.com/cgoldberg/xvfbwrapper/issues/30
  doCheck = false;

  checkInputs = [ mock ];

  meta = with stdenv.lib; {
    description = "Run headless display inside X virtual framebuffer (Xvfb)";
    homepage = https://github.com/cgoldberg/xvfbwrapper;
    license = licenses.mit;
    maintainers = with maintainers; [ ashgillman ];
  };
}