22 stdenv.mkDerivation (finalAttrs: {
26 src = fetchFromGitLab {
27 domain = "gitlab.gnome.org";
30 rev = finalAttrs.version;
31 hash = "sha256-5ZZiRD64OOMtTNxI0uvilGM22rsJv7vU3yPDY8ROrxU=";
34 cargoDeps = rustPlatform.fetchCargoTarball {
35 inherit (finalAttrs) pname version src;
36 hash = "sha256-tUSGldWeCLEHi35bDLMnfjnfofF2Qse5uBu2mDGJrsE=";
39 env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
40 # Set the location to gettext to ensure the nixpkgs one on Darwin instead of the vendored one.
41 # The vendored gettext does not build with clang 16.
42 GETTEXT_BIN_DIR = "${lib.getBin buildPackages.gettext}/bin";
43 GETTEXT_INCLUDE_DIR = "${lib.getDev gettext}/include";
44 GETTEXT_LIB_DIR = "${lib.getLib gettext}/lib";
53 rustPlatform.cargoSetupHook
66 description = "Graphical D-Bus message analyser and profiler";
67 homepage = "https://gitlab.gnome.org/World/bustle";
68 license = lib.licenses.lgpl21Plus;
69 maintainers = with lib.maintainers; [
73 mainProgram = "bustle";
74 platforms = lib.platforms.all;