nixpkgs/pkgs/os-specific/linux/radeontools/default.nix

26 lines
616 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl
2019-09-06 19:39:38 +01:00
, autoreconfHook
, pciutils
, pkgconfig
, xorg
}:
2019-09-06 19:39:38 +01:00
stdenv.mkDerivation rec {
pname = "radeontool";
version = "1.6.3";
src = fetchurl {
2019-09-06 19:39:38 +01:00
url = "https://people.freedesktop.org/~airlied/radeontool/${pname}-${version}.tar.gz";
sha256 = "0mjk9wr9rsb17yy92j6yi16hfpa6v5r1dbyiy60zp4r125wr63za";
};
2019-09-06 19:39:38 +01:00
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ xorg.libpciaccess ];
meta = with lib; {
2019-09-06 19:39:38 +01:00
description = "Lowlevel tools to tweak register and dump state on radeon GPUs";
homepage = "https://airlied.livejournal.com/";
license = licenses.zlib;
};
}