depot/third_party/nixpkgs/pkgs/development/python-modules/xvfbwrapper/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

29 lines
659 B
Nix

{ lib, 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 lib; {
description = "Run headless display inside X virtual framebuffer (Xvfb)";
homepage = "https://github.com/cgoldberg/xvfbwrapper";
license = licenses.mit;
maintainers = with maintainers; [ ashgillman ];
};
}