1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 xorg,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "xvfbwrapper";
12 version = "0.2.14";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "cgoldberg";
17 repo = "xvfbwrapper";
18 tag = version;
19 sha256 = "sha256-SLf9ytogbIXPM/Nf5h6akKhU3UnAAspJc5f9/bL5YNk=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [ xorg.xvfb ];
25
26 nativeCheckInputs = [
27 pytestCheckHook
28 xorg.xvfb
29 ];
30
31 meta = {
32 description = "Run headless displays inside X virtual framebuffers (Xvfb)";
33 homepage = "https://github.com/cgoldberg/xvfbwrapper";
34 license = lib.licenses.mit;
35 maintainers = with lib.maintainers; [ ashgillman ];
36 };
37}