tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
cpupower-gui: fix build with meson 0.61
Bobby Rong
3 years ago
b253c43d
6a079dad
+10
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
cpupower-gui
default.nix
+10
pkgs/os-specific/linux/cpupower-gui/default.nix
···
1
{ lib
2
, stdenv
3
, fetchFromGitHub
0
4
, buildPythonApplication
5
, appstream-glib
6
, dbus-python
···
34
rev = "v${version}";
35
sha256 = "05lvpi3wgyi741sd8lgcslj8i7yi3wz7jwl7ca3y539y50hwrdas";
36
};
0
0
0
0
0
0
0
0
0
37
38
nativeBuildInputs = [
39
appstream-glib
···
1
{ lib
2
, stdenv
3
, fetchFromGitHub
4
+
, fetchpatch
5
, buildPythonApplication
6
, appstream-glib
7
, dbus-python
···
35
rev = "v${version}";
36
sha256 = "05lvpi3wgyi741sd8lgcslj8i7yi3wz7jwl7ca3y539y50hwrdas";
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
+
];
47
48
nativeBuildInputs = [
49
appstream-glib