lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

radeontop: 2016-07-03 -> 2016-07-04

Add support for unprivileged use on both the Linux console and X.

+12 -6
+12 -6
pkgs/os-specific/linux/radeontop/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, gettext, ncurses, libdrm, libpciaccess }: 1 + { stdenv, fetchFromGitHub, pkgconfig, gettext, makeWrapper 2 + , ncurses, libdrm, libpciaccess, libxcb }: 2 3 3 4 stdenv.mkDerivation rec { 4 5 name = "radeontop-${version}"; 5 - version = "2016-07-03"; 6 + version = "2016-07-04"; 6 7 7 8 src = fetchFromGitHub { 8 - sha256 = "0achjjhq1fnka8fvn78jbd7zjnra2wcalvr7k4lj3c28x15k1iv8"; 9 - rev = "761ffe28696cdadc96c8cf302b58c9ef71a2eae1"; 9 + sha256 = "07pj5c3shnxljwq0hkksw7qnp8kb3n5ngihdmi4fqbmyz8in2vm5"; 10 + rev = "bb3ed18aa8877f2816348ca9f016bb61d67e636f"; 10 11 repo = "radeontop"; 11 12 owner = "clbr"; 12 13 }; 13 14 14 - buildInputs = [ ncurses libdrm libpciaccess ]; 15 - nativeBuildInputs = [ pkgconfig gettext ]; 15 + buildInputs = [ ncurses libdrm libpciaccess libxcb ]; 16 + nativeBuildInputs = [ pkgconfig gettext makeWrapper ]; 16 17 17 18 enableParallelBuilding = true; 18 19 ··· 21 22 ''; 22 23 23 24 makeFlags = [ "PREFIX=$(out)" ]; 25 + 26 + postInstall = '' 27 + wrapProgram $out/sbin/radeontop \ 28 + --prefix LD_LIBRARY_PATH : $out/lib 29 + ''; 24 30 25 31 meta = with stdenv.lib; { 26 32 description = "Top-like tool for viewing AMD Radeon GPU utilization";