Merge pull request #69248 from rnhmjoj/radeon
radeon-profile: 20170714 -> 20190903
This commit is contained in:
commit
1c0ea626a1
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user