cosmic-applets: backport upstream bugfix

fixes high CPU usage and by extension battery drain
This commit is contained in:
Ingo Reitz 2025-07-12 15:59:26 +02:00 committed by Alyssa Ross
parent eb35e32444
commit d1be3afb61

View File

@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch2,
rustPlatform,
libcosmicAppHook,
just,
@ -32,6 +33,14 @@ rustPlatform.buildRustPackage (finalAttrs: {
useFetchCargoVendor = true;
cargoHash = "sha256-wWs3B5hh2DP93i+4gGDTi+7NT4bj8ULJ+fT95sXxUdg=";
patches = [
(fetchpatch2 {
name = "fix-bluetooth-dbus-spam.patch";
url = "https://github.com/pop-os/cosmic-applets/commit/b6bb982f2dace0a3d19c78b4b4247760a8010d5b.patch?full_index=1";
hash = "sha256-S5F9rqYrB38T9R6i/n/j3s79Xeh6BMmNkC+E2kTsus4=";
})
];
nativeBuildInputs = [
just
pkg-config