lol
0
fork

Configure Feed

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

at release-16.03-start 39 lines 1.3 kB view raw
1{ stdenv, fetchFromGitHub, pkgconfig, gettext, ncurses, libdrm, libpciaccess }: 2 3stdenv.mkDerivation rec { 4 name = "radeontop-${version}"; 5 version = "2015-11-24"; 6 7 src = fetchFromGitHub { 8 sha256 = "0irwq6rps5mnban8cxbrm59wpyv4j80q3xdjm9fxvfpiyys2g2hz"; 9 rev = "0e82272f3e8f2287c1bc1d8a0c7bdbd5c4818b37"; 10 repo = "radeontop"; 11 owner = "clbr"; 12 }; 13 14 buildInputs = [ ncurses libdrm libpciaccess ]; 15 nativeBuildInputs = [ pkgconfig gettext ]; 16 17 enableParallelBuilding = true; 18 19 patchPhase = '' 20 substituteInPlace getver.sh --replace ver=unknown ver=${version} 21 ''; 22 23 makeFlags = [ "PREFIX=$(out)" ]; 24 25 meta = with stdenv.lib; { 26 description = "Top-like tool for viewing AMD Radeon GPU utilization"; 27 longDescription = '' 28 View GPU utilization, both for the total activity percent and individual 29 blocks. Supports R600 and later cards: even Southern Islands should work. 30 Works with both the open drivers and AMD Catalyst. Total GPU utilization 31 is also valid for OpenCL loads; the other blocks are only useful for GL 32 loads. Requires root rights or other permissions to read /dev/mem. 33 ''; 34 homepage = https://github.com/clbr/radeontop; 35 platforms = platforms.linux; 36 license = licenses.gpl3; 37 maintainers = with maintainers; [ rycee nckx ]; 38 }; 39}