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 2 lib, 3 3 stdenv, 4 4 fetchFromGitHub, 5 + fetchpatch2, 5 6 rustPlatform, 6 7 libcosmicAppHook, 7 8 just, ··· 31 32 32 33 useFetchCargoVendor = true; 33 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 + ]; 34 43 35 44 nativeBuildInputs = [ 36 45 just