depot/third_party/nixpkgs/pkgs/development/python-modules/xvfbwrapper/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

31 lines
682 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
xorg,
mock,
}:
buildPythonPackage rec {
pname = "xvfbwrapper";
version = "0.2.9";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "097wxhvp01ikqpg1z3v8rqhss6f1vwr399zpz9a05d2135bsxx5w";
};
propagatedBuildInputs = [ xorg.xvfb ];
# See: https://github.com/cgoldberg/xvfbwrapper/issues/30
doCheck = false;
nativeCheckInputs = [ mock ];
meta = with lib; {
description = "Run headless display inside X virtual framebuffer (Xvfb)";
homepage = "https://github.com/cgoldberg/xvfbwrapper";
license = licenses.mit;
maintainers = with maintainers; [ ashgillman ];
};
}