diff options
Diffstat (limited to 'nixpkgs/pkgs/os-specific/linux/radeontools/default.nix')
-rw-r--r-- | nixpkgs/pkgs/os-specific/linux/radeontools/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/os-specific/linux/radeontools/default.nix b/nixpkgs/pkgs/os-specific/linux/radeontools/default.nix new file mode 100644 index 000000000000..01b83f879119 --- /dev/null +++ b/nixpkgs/pkgs/os-specific/linux/radeontools/default.nix @@ -0,0 +1,25 @@ +{ lib, stdenv, fetchurl +, autoreconfHook +, pciutils +, pkg-config +, 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 pkg-config ]; + buildInputs = [ xorg.libpciaccess ]; + + meta = with lib; { + description = "Lowlevel tools to tweak register and dump state on radeon GPUs"; + homepage = "https://airlied.livejournal.com/"; + license = licenses.zlib; + }; +} |