cpupower-gui: fix build with meson 0.61

main
Bobby Rong 2 years ago
parent 6a079dad15
commit b253c43db9
No known key found for this signature in database
GPG Key ID: ED07364437C91161
  1. 10
      pkgs/os-specific/linux/cpupower-gui/default.nix

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, buildPythonApplication
, appstream-glib
, dbus-python
@ -35,6 +36,15 @@ buildPythonApplication rec {
sha256 = "05lvpi3wgyi741sd8lgcslj8i7yi3wz7jwl7ca3y539y50hwrdas";
};
patches = [
# Fix build with 0.61, can be removed on next update
# https://hydra.nixos.org/build/171052557/nixlog/1
(fetchpatch {
url = "https://github.com/vagnum08/cpupower-gui/commit/97f8ac02fe33e412b59d3f3968c16a217753e74b.patch";
sha256 = "XYnpm03kq8JLMjAT73BMCJWlzz40IAuHESm715VV6G0=";
})
];
nativeBuildInputs = [
appstream-glib
desktop-file-utils # needed for update-desktop-database

Loading…
Cancel
Save