1 { lib, mkDerivation, fetchFromGitHub
2 , qtbase, qtcharts, qmake, libXrandr, libdrm
7 pname = "radeon-profile";
10 nativeBuildInputs = [ qmake ];
11 buildInputs = [ qtbase qtcharts libXrandr libdrm ];
13 src = (fetchFromGitHub {
15 repo = "radeon-profile";
17 sha256 = "0z6a9w79s5wiy8cvwcdp5wmgf6702d0wzw95f6176yhp4cwy4cq2";
18 }) + "/radeon-profile";
21 substituteInPlace radeon-profile.pro \
22 --replace "/usr/" "$out/"
26 description = "Application to read current clocks of AMD Radeon cards";
27 homepage = "https://github.com/marazmista/radeon-profile";
28 license = licenses.gpl2Plus;
29 platforms = platforms.linux;
30 mainProgram = "radeon-profile";