anchor.diff:      libelf
       qtbase
       threadweaver
  +    qtx11extras
  +    zstd
  +    kddockwidgets
  +    rustc-demangle
     ];
   
     # hotspot checks for the presence of third party libraries'
  
positive.code:       then displays the result in a graphical way.
      '';
      homepage = "https://github.com/KDAB/hotspot";
      license = with lib.licenses; [ gpl2 gpl3 ];
      platforms = lib.platforms.linux;
      maintainers = with lib.maintainers; [ nh2 ];
    };
  
negative.code:   # submodules; but Nix clones them and removes .git (for reproducibility).
    # So we need to fake their existence here.
    postPatch = ''
      mkdir -p 3rdparty/{perfparser,PrefixTickLabels}/.git
    '';
  
    cmakeFlags = [
      "-DRUSTC_DEMANGLE_INCLUDE_DIR=${rustc-demangle}/include"
      "-DRUSTC_DEMANGLE_LIBRARY=${rustc-demangle}/lib/librustc_demangle.so"
    ];
  
    meta = {
      description = "A GUI for Linux perf";
  