cpupower-gui: fix build with meson 0.61

+10
+10
pkgs/os-specific/linux/cpupower-gui/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , buildPythonApplication 5 6 , appstream-glib 6 7 , dbus-python ··· 34 35 rev = "v${version}"; 35 36 sha256 = "05lvpi3wgyi741sd8lgcslj8i7yi3wz7jwl7ca3y539y50hwrdas"; 36 37 }; 38 + 39 + patches = [ 40 + # Fix build with 0.61, can be removed on next update 41 + # https://hydra.nixos.org/build/171052557/nixlog/1 42 + (fetchpatch { 43 + url = "https://github.com/vagnum08/cpupower-gui/commit/97f8ac02fe33e412b59d3f3968c16a217753e74b.patch"; 44 + sha256 = "XYnpm03kq8JLMjAT73BMCJWlzz40IAuHESm715VV6G0="; 45 + }) 46 + ]; 37 47 38 48 nativeBuildInputs = [ 39 49 appstream-glib