git.iko.soy/typeable/nixpkgs
on master help sign in
cpupower-gui: fix build with meson 0.61
commitb253c43db9c10abea8b2ea3ba7e14fb33a309860 authorBobby Rong <rjl931189261@126.com> dateWed 30 Mar 2022, 17:59 (5 years ago) parent6a079da
1 file changed+10
pkgs/os-specific/linux/cpupower-gui/default.nix+10
pkgs/os-specific/linux/cpupower-gui/default.nix+10
@@ -1,6 +1,7 @@
11{ lib
22, stdenv
33, fetchFromGitHub
4+, fetchpatch
45, buildPythonApplication
56, appstream-glib
67, dbus-python
@@ -35,6 +36,15 @@ buildPythonApplication rec {
3536 sha256 = "05lvpi3wgyi741sd8lgcslj8i7yi3wz7jwl7ca3y539y50hwrdas";
3637 };
3738
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+ ];
47+
3848 nativeBuildInputs = [
3949 appstream-glib
4050 desktop-file-utils # needed for update-desktop-database