14 stdenv.mkDerivation rec {
18 src = fetchFromGitHub {
19 sha256 = "0kwqddidr45s1blp0h8r8h1dd1p50l516yb6mb4s6zsc827xzgg3";
37 enableParallelBuilding = true;
40 substituteInPlace getver.sh --replace ver=unknown ver=${version}
41 substituteInPlace Makefile --replace pkg-config "$PKG_CONFIG"
44 makeFlags = [ "PREFIX=$(out)" ];
47 wrapProgram $out/bin/radeontop \
48 --prefix LD_LIBRARY_PATH : $out/lib
52 description = "Top-like tool for viewing AMD Radeon GPU utilization";
53 mainProgram = "radeontop";
55 View GPU utilization, both for the total activity percent and individual
56 blocks. Supports R600 and later cards: even Southern Islands should work.
57 Works with both the open drivers and AMD Catalyst. Total GPU utilization
58 is also valid for OpenCL loads; the other blocks are only useful for GL
61 homepage = "https://github.com/clbr/radeontop";
62 platforms = platforms.linux;
63 license = licenses.gpl3;