2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-01-16 03:28:42 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, xorgserver
|
2018-01-20 13:09:53 +00:00
|
|
|
, mock
|
2018-01-16 03:28:42 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "xvfbwrapper";
|
|
|
|
version = "0.2.9";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "097wxhvp01ikqpg1z3v8rqhss6f1vwr399zpz9a05d2135bsxx5w";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [ xorgserver ];
|
|
|
|
|
2019-01-05 02:15:57 +00:00
|
|
|
# See: https://github.com/cgoldberg/xvfbwrapper/issues/30
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-01-20 13:09:53 +00:00
|
|
|
checkInputs = [ mock ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-01-16 03:28:42 +00:00
|
|
|
description = "Run headless display inside X virtual framebuffer (Xvfb)";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/cgoldberg/xvfbwrapper";
|
2018-01-16 03:28:42 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ashgillman ];
|
|
|
|
};
|
|
|
|
}
|