Merge pull request #69248 from rnhmjoj/radeon

radeon-profile: 20170714 -> 20190903
This commit is contained in:
Thomas Tuegel 2019-09-22 13:59:51 -05:00 committed by GitHub
commit 1c0ea626a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,11 @@
{ stdenv, fetchFromGitHub, qtbase, qtcharts, qmake, libXrandr, libdrm }: { lib, mkDerivation, fetchFromGitHub
, qtbase, qtcharts, qmake, libXrandr, libdrm
}:
stdenv.mkDerivation rec { mkDerivation rec {
pname = "radeon-profile"; pname = "radeon-profile";
version = "20170714"; version = "20190903";
nativeBuildInputs = [ qmake ]; nativeBuildInputs = [ qmake ];
buildInputs = [ qtbase qtcharts libXrandr libdrm ]; buildInputs = [ qtbase qtcharts libXrandr libdrm ];
@ -12,15 +14,15 @@ stdenv.mkDerivation rec {
owner = "marazmista"; owner = "marazmista";
repo = "radeon-profile"; repo = "radeon-profile";
rev = version; rev = version;
sha256 = "08fv824iq00zbl9xk9zsfs8gkk8rsy6jlxbmszrjfx7ji28hansd"; sha256 = "0ax5417q03xjwi3pn7yyjdb90ssaygdprfgb1pz9nkyk6773ckx5";
}) + "/radeon-profile"; }) + "/radeon-profile";
postInstall = '' preConfigure = ''
mkdir -p $out/bin substituteInPlace radeon-profile.pro \
cp ./radeon-profile $out/bin/radeon-profile --replace "/usr/" "$out/"
''; '';
meta = with stdenv.lib; { meta = with lib; {
description = "Application to read current clocks of AMD Radeon cards"; description = "Application to read current clocks of AMD Radeon cards";
homepage = https://github.com/marazmista/radeon-profile; homepage = https://github.com/marazmista/radeon-profile;
license = licenses.gpl2Plus; license = licenses.gpl2Plus;