26 src = fetchFromGitHub {
30 sha256 = "1f68bssh3p387hkavfjkqcf7qf7w5caznmjfjldicxphap4riqr5";
31 fetchSubmodules = true;
55 # hotspot checks for the presence of third party libraries'
56 # git directory to give a nice warning when you forgot to clone
57 # submodules; but Nix clones them and removes .git (for reproducibility).
58 # So we need to fake their existence here.
60 mkdir -p 3rdparty/{perfparser,PrefixTickLabels}/.git
64 "-DRUSTC_DEMANGLE_INCLUDE_DIR=${rustc-demangle}/include"
65 "-DRUSTC_DEMANGLE_LIBRARY=${rustc-demangle}/lib/librustc_demangle.so"
69 description = "A GUI for Linux perf";
71 hotspot is a GUI replacement for `perf report`.
72 It takes a perf.data file, parses and evaluates its contents and
73 then displays the result in a graphical way.
75 homepage = "https://github.com/KDAB/hotspot";
76 license = with lib.licenses; [ gpl2Only gpl3Only ];
77 platforms = lib.platforms.linux;
78 maintainers = with lib.maintainers; [ nh2 ];