2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl
|
2020-04-24 23:36:52 +00:00
|
|
|
, autoreconfHook
|
|
|
|
, pciutils
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, xorg
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "radeontool";
|
|
|
|
version = "1.6.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://people.freedesktop.org/~airlied/radeontool/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "0mjk9wr9rsb17yy92j6yi16hfpa6v5r1dbyiy60zp4r125wr63za";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ xorg.libpciaccess ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Lowlevel tools to tweak register and dump state on radeon GPUs";
|
|
|
|
homepage = "https://airlied.livejournal.com/";
|
|
|
|
license = licenses.zlib;
|
|
|
|
};
|
|
|
|
}
|