Merge pull request #68220 from jonringer/bump-radeontool
radeontool: 1.5 -> 1.6.3
This commit is contained in:
commit
43c6c753ee
@ -1,33 +1,25 @@
|
|||||||
{ stdenv, fetchurl, pciutils }:
|
{ stdenv, fetchurl
|
||||||
|
, autoreconfHook
|
||||||
|
, pciutils
|
||||||
|
, pkgconfig
|
||||||
|
, xorg
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "radeontool-1.5";
|
pname = "radeontool";
|
||||||
|
version = "1.6.3";
|
||||||
inherit pciutils;
|
|
||||||
|
|
||||||
# Don't know wether it's a good idea to hardcode the lspci path..
|
|
||||||
# But it will work on nix..
|
|
||||||
postUnpack = ''
|
|
||||||
cd $sourceRoot
|
|
||||||
sed -i "s%lspci%$pciutils/sbin/lspci%g" radeontool.c
|
|
||||||
cd ..
|
|
||||||
'';
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://fdd.com/software/radeon/radeontool-1.5.tar.gz;
|
url = "https://people.freedesktop.org/~airlied/radeontool/${pname}-${version}.tar.gz";
|
||||||
sha256 = "0qbkawhhq0y0gqbbql7q04y0v0hims5c4jkjsbc1y03rf9kr10ar";
|
sha256 = "0mjk9wr9rsb17yy92j6yi16hfpa6v5r1dbyiy60zp4r125wr63za";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||||
mkdir -p $out/bin
|
buildInputs = [ xorg.libpciaccess ];
|
||||||
chmod +x lightwatch.pl
|
|
||||||
cp radeontool lightwatch.pl $out/bin
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "Control the backlight and external video output of ATI Radeon Mobility graphics cards";
|
description = "Lowlevel tools to tweak register and dump state on radeon GPUs";
|
||||||
homepage = http://fdd.com/software/radeon/;
|
homepage = "https://airlied.livejournal.com/";
|
||||||
license = stdenv.lib.licenses.zlib;
|
license = licenses.zlib;
|
||||||
broken = true;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user