summary refs log tree commit diff
path: root/pkgs/os-specific/linux/radeontools/default.nix
blob: d2c3c11c93901692d505ccabbcff2237d4be58df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchurl
, autoreconfHook
, pciutils
, pkgconfig
, 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";
  };

  nativeBuildInputs = [ autoreconfHook pkgconfig ];
  buildInputs = [ xorg.libpciaccess ];

  meta = with stdenv.lib; {
    description = "Lowlevel tools to tweak register and dump state on radeon GPUs";
    homepage = "https://airlied.livejournal.com/";
    license = licenses.zlib;
  };
}