13 stdenv.mkDerivation rec {
17 src = fetchFromGitHub {
21 hash = "sha256-a9eAYDsiwyzZc4FAPo0wANysisIT4qCHLh2PrYswJtw=";
24 # patch dlopen path for gtk3
26 substituteInPlace src/hook_gtk3.h \
27 --replace "libgtk-3.so" "${lib.getLib gtk3}/lib/libgtk-3.so"
30 nativeBuildInputs = [ pkg-config meson ninja wrapGAppsHook ];
32 buildInputs = [ SDL2 gtk3 freetype ];
35 # GCC 13: error: 'uint32_t' has not been declared
40 description = "GPU Trace Visualizer";
41 mainProgram = "gpuvis";
42 homepage = "https://github.com/mikesart/gpuvis";
43 license = licenses.mit;
44 maintainers = with maintainers; [ emantor ];
45 platforms = platforms.linux;