all: initial port from private config
This commit is contained in:
35
pkgs/tools/misc/radeon-profile-daemon/default.nix
Normal file
35
pkgs/tools/misc/radeon-profile-daemon/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
|
||||
, qtbase
|
||||
, qmake
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "radeon-profile-daemon";
|
||||
version = "20190603";
|
||||
|
||||
nativeBuildInputs = [ qmake ];
|
||||
buildInputs = [ qtbase ];
|
||||
|
||||
src = (
|
||||
fetchFromGitHub {
|
||||
owner = "marazmista";
|
||||
repo = "radeon-profile-daemon";
|
||||
rev = version;
|
||||
sha256 = "06qxq2hv3l9shna8x5d9awbdm9pbwlc6vckcr63kf37rrs8ykk0j";
|
||||
}
|
||||
) + "/radeon-profile-daemon";
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace radeon-profile-daemon.pro \
|
||||
--replace "/usr/" "$out/"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "System daemon for reading current clocks of AMD Radeon cards";
|
||||
homepage = "https://github.com/marazmista/radeon-profile-daemon";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user