mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
Merge pull request #282869 from arjan-s/bump-qtile-extras
python3Packages.qtile-extras: 0.23.0 -> 0.24.0
This commit is contained in:
commit
eb1e89748b
|
@ -5,25 +5,27 @@
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, xorgserver
|
, xorgserver
|
||||||
, imagemagick
|
, imagemagick
|
||||||
|
, gobject-introspection
|
||||||
, pulseaudio
|
, pulseaudio
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
, pytest-lazy-fixture
|
, pytest-lazy-fixture
|
||||||
, qtile
|
, qtile
|
||||||
, keyring
|
, keyring
|
||||||
, requests
|
, requests
|
||||||
, stravalib
|
, librsvg
|
||||||
|
, gtk3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "qtile-extras";
|
pname = "qtile-extras";
|
||||||
version = "0.23.0";
|
version = "0.24.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "elParaguayo";
|
owner = "elParaguayo";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-WI1z8vrbZiJw6fDHK27mKA+1FyZEQTMttIDNzSIX+PU=";
|
hash = "sha256-DJmnJcqhfCfl39SF3Ypv0PGtI4r8heaVv9JmpiCBGJo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools-scm ];
|
nativeBuildInputs = [ setuptools-scm ];
|
||||||
|
@ -32,6 +34,7 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
xorgserver
|
xorgserver
|
||||||
imagemagick
|
imagemagick
|
||||||
|
gobject-introspection
|
||||||
];
|
];
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
|
@ -40,59 +43,41 @@ buildPythonPackage rec {
|
||||||
pulseaudio
|
pulseaudio
|
||||||
keyring
|
keyring
|
||||||
requests
|
requests
|
||||||
stravalib
|
# stravalib # marked as broken due to https://github.com/stravalib/stravalib/issues/379
|
||||||
];
|
];
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# AttributeError: 'ImgMask' object has no attribute '_default_size'. Did you mean: 'default_size'?
|
|
||||||
# cairocffi.pixbuf.ImageLoadingError: Pixbuf error: Unrecognized image file format
|
|
||||||
"test_draw"
|
|
||||||
"test_icons"
|
|
||||||
"1-x11-GithubNotifications-kwargs3"
|
|
||||||
"1-x11-SnapCast-kwargs8"
|
|
||||||
"1-x11-TVHWidget-kwargs10"
|
|
||||||
"test_tvh_widget_not_recording"
|
|
||||||
"test_tvh_widget_recording"
|
|
||||||
"test_tvh_widget_popup"
|
|
||||||
"test_snapcast_options"
|
|
||||||
"test_snapcast_icon"
|
|
||||||
"test_snapcast_icon_colour"
|
|
||||||
"test_snapcast_http_error"
|
|
||||||
"test_syncthing_not_syncing"
|
|
||||||
"test_syncthing_is_syncing"
|
|
||||||
"test_syncthing_http_error"
|
|
||||||
"test_githubnotifications_colours"
|
|
||||||
"test_githubnotifications_logging"
|
|
||||||
"test_githubnotifications_icon"
|
|
||||||
"test_githubnotifications_reload_token"
|
|
||||||
"test_image_size_horizontal"
|
|
||||||
"test_image_size_vertical"
|
|
||||||
"test_image_size_mask"
|
|
||||||
# ValueError: Namespace Gdk not available
|
|
||||||
# AssertionError: Window never appeared...
|
|
||||||
"test_statusnotifier_menu"
|
|
||||||
# AttributeError: 'str' object has no attribute 'canonical'
|
|
||||||
"test_strava_widget_display"
|
|
||||||
"test_strava_widget_popup"
|
|
||||||
# Needs a running DBUS
|
# Needs a running DBUS
|
||||||
"test_brightness_power_saving"
|
"test_brightness_power_saving"
|
||||||
"test_upower_all_batteries"
|
|
||||||
"test_upower_named_battery"
|
|
||||||
"test_upower_low_battery"
|
|
||||||
"test_upower_critical_battery"
|
|
||||||
"test_upower_charging"
|
|
||||||
"test_upower_show_text"
|
|
||||||
"test_global_menu"
|
"test_global_menu"
|
||||||
"test_mpris2_popup"
|
"test_mpris2_popup"
|
||||||
|
"test_statusnotifier_menu"
|
||||||
# No network connection
|
# No network connection
|
||||||
"test_wifiicon_internet_check"
|
"test_wifiicon_internet_check"
|
||||||
# AssertionErrors
|
# Image difference is outside tolerance
|
||||||
"test_widget_init_config"
|
|
||||||
"test_decoration_output"
|
"test_decoration_output"
|
||||||
|
# Needs github token
|
||||||
|
"test_githubnotifications_reload_token"
|
||||||
|
# AttributeError: 'NoneType' object has no attribute 'theta'
|
||||||
|
"test_image_size_horizontal"
|
||||||
|
"test_image_size_vertical"
|
||||||
|
];
|
||||||
|
disabledTestPaths = [
|
||||||
|
# Needs a running DBUS
|
||||||
|
"test/widget/test_iwd.py"
|
||||||
|
"test/widget/test_upower.py"
|
||||||
|
# Marked as broken due to https://github.com/stravalib/stravalib/issues/379
|
||||||
|
"test/widget/test_strava.py"
|
||||||
];
|
];
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
export HOME=$(mktemp -d)
|
export HOME=$(mktemp -d)
|
||||||
|
export GDK_PIXBUF_MODULE_FILE=${librsvg}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
||||||
|
sed -i 's#/usr/bin/sleep#sleep#' test/widget/test_snapcast.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
gtk3
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "qtile_extras" ];
|
pythonImportsCheck = [ "qtile_extras" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue