22 buildNum = "2023-05-22-1083";
29 url = "https://gpuopen.com/download/radeon-developer-tool-suite/RadeonDeveloperToolSuite-${buildNum}.tgz";
30 hash = "sha256-WSSiNiiIVw1wwt9vxgyirBDe+SPzH87LU1GlSdUhZB8=";
33 nativeBuildInputs = [ makeWrapper autoPatchelfHook ];
51 dontWrapQtApps = true;
54 mkdir -p $out/opt/rgp $out/bin
57 chmod +x $out/opt/rgp/scripts/*
58 patchShebangs $out/opt/rgp/scripts
60 for prog in RadeonDeveloperPanel RadeonDeveloperService RadeonDeveloperServiceCLI RadeonGPUAnalyzer RadeonGPUProfiler RadeonMemoryVisualizer RadeonRaytracingAnalyzer rga rtda; do
61 # makeWrapper is needed so that executables are started from the opt
62 # directory, where qt.conf and other tools are
70 description = "A tool from AMD that allows for deep inspection of GPU workloads";
71 homepage = "https://gpuopen.com/rgp/";
72 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
73 license = licenses.unfree;
74 platforms = [ "x86_64-linux" ];
75 maintainers = with maintainers; [ Flakebi ];