20 buildPythonPackage rec {
21 pname = "qtile-extras";
25 src = fetchFromGitHub {
26 owner = "elParaguayo";
27 repo = "qtile-extras";
28 rev = "refs/tags/v${version}";
29 hash = "sha256-OYzSKOVg4D5gKxaEreclYq3D16dl8ddLipSdifokDNY=";
32 build-system = [ setuptools-scm ];
34 dependencies = [ gtk3 ];
47 # stravalib # marked as broken due to https://github.com/stravalib/stravalib/issues/379
51 # Needs a running DBUS
52 "test_brightness_power_saving"
55 "test_statusnotifier_menu"
56 # No network connection
57 "test_wifiicon_internet_check"
58 # Image difference is outside tolerance
59 "test_decoration_output"
61 "test_githubnotifications_reload_token"
62 # AttributeError: 'NoneType' object has no attribute 'theta'
63 "test_image_size_horizontal"
64 "test_image_size_vertical"
68 # Needs a running DBUS
69 "test/widget/test_iwd.py"
70 "test/widget/test_upower.py"
71 # Marked as broken due to https://github.com/stravalib/stravalib/issues/379
72 "test/widget/test_strava.py"
76 export HOME=$(mktemp -d)
77 export GDK_PIXBUF_MODULE_FILE=${librsvg}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
78 sed -i 's#/usr/bin/sleep#sleep#' test/widget/test_snapcast.py
81 pythonImportsCheck = [ "qtile_extras" ];
84 description = "Extra modules and widgets for the Qtile tiling window manager";
85 homepage = "https://github.com/elParaguayo/qtile-extras";
86 changelog = "https://github.com/elParaguayo/qtile-extras/blob/${src.rev}/CHANGELOG";
87 license = licenses.mit;
88 maintainers = with maintainers; [ arjan-s ];