1{ lib, stdenv, fetchurl
2, autoreconfHook
3, pciutils
4, pkg-config
5, xorg
6}:
7
8stdenv.mkDerivation rec {
9 pname = "radeontool";
10 version = "1.6.3";
11
12 src = fetchurl {
13 url = "https://people.freedesktop.org/~airlied/radeontool/${pname}-${version}.tar.gz";
14 sha256 = "0mjk9wr9rsb17yy92j6yi16hfpa6v5r1dbyiy60zp4r125wr63za";
15 };
16
17 nativeBuildInputs = [ autoreconfHook pkg-config ];
18 buildInputs = [ xorg.libpciaccess ];
19
20 meta = with lib; {
21 description = "Lowlevel tools to tweak register and dump state on radeon GPUs";
22 homepage = "https://airlied.livejournal.com/";
23 license = licenses.zlib;
24 };
25}