2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl
|
2019-09-06 20:39:38 +02:00
|
|
|
, autoreconfHook
|
|
|
|
, pciutils
|
2021-01-19 07:50:56 +01:00
|
|
|
, pkg-config
|
2019-09-06 20:39:38 +02:00
|
|
|
, xorg
|
|
|
|
}:
|
2010-07-28 13:55:54 +02:00
|
|
|
|
2019-09-06 20:39:38 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "radeontool";
|
|
|
|
version = "1.6.3";
|
2007-09-03 14:10:57 +02:00
|
|
|
|
2008-01-30 18:20:48 +01:00
|
|
|
src = fetchurl {
|
2019-09-06 20:39:38 +02:00
|
|
|
url = "https://people.freedesktop.org/~airlied/radeontool/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "0mjk9wr9rsb17yy92j6yi16hfpa6v5r1dbyiy60zp4r125wr63za";
|
2007-09-03 14:10:57 +02:00
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2019-09-06 20:39:38 +02:00
|
|
|
buildInputs = [ xorg.libpciaccess ];
|
2007-09-03 14:10:57 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-09-06 20:39:38 +02:00
|
|
|
description = "Lowlevel tools to tweak register and dump state on radeon GPUs";
|
|
|
|
homepage = "https://airlied.livejournal.com/";
|
|
|
|
license = licenses.zlib;
|
2010-07-28 13:55:54 +02:00
|
|
|
};
|
2007-09-03 14:10:57 +02:00
|
|
|
}
|