cosmic-applets: backport upstream bugfix

fixes high CPU usage and by extension battery drain

authored by

Ingo Reitz and committed by
Alyssa Ross
d1be3afb eb35e324

+9
+9
pkgs/by-name/co/cosmic-applets/package.nix
··· 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 rustPlatform, 6 libcosmicAppHook, 7 just, ··· 31 32 useFetchCargoVendor = true; 33 cargoHash = "sha256-wWs3B5hh2DP93i+4gGDTi+7NT4bj8ULJ+fT95sXxUdg="; 34 35 nativeBuildInputs = [ 36 just
··· 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 + fetchpatch2, 6 rustPlatform, 7 libcosmicAppHook, 8 just, ··· 32 33 useFetchCargoVendor = true; 34 cargoHash = "sha256-wWs3B5hh2DP93i+4gGDTi+7NT4bj8ULJ+fT95sXxUdg="; 35 + 36 + patches = [ 37 + (fetchpatch2 { 38 + name = "fix-bluetooth-dbus-spam.patch"; 39 + url = "https://github.com/pop-os/cosmic-applets/commit/b6bb982f2dace0a3d19c78b4b4247760a8010d5b.patch?full_index=1"; 40 + hash = "sha256-S5F9rqYrB38T9R6i/n/j3s79Xeh6BMmNkC+E2kTsus4="; 41 + }) 42 + ]; 43 44 nativeBuildInputs = [ 45 just