Files
nixpkgs/pkgs/by-name/bu/bustle/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

75 lines
1.6 KiB
Nix

{
lib,
stdenv,
fetchFromGitLab,
buildPackages,
cargo,
meson,
ninja,
pkg-config,
desktop-file-utils,
rustPlatform,
rustc,
wrapGAppsHook4,
gettext,
glib,
gtk4,
libadwaita,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "bustle";
version = "0.12.0";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = "bustle";
tag = finalAttrs.version;
hash = "sha256-gzPFODVLvv+Ore1XR+XTi2fjVh3OJOZF0k9vilVnst4=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit (finalAttrs) pname version src;
hash = "sha256-DYkicVDjQRIMfKl0f9aLWIyQfR153I43EpSuskenmoA=";
};
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
# Set the location to gettext to ensure the nixpkgs one on Darwin instead of the vendored one.
# The vendored gettext does not build with clang 16.
GETTEXT_BIN_DIR = "${lib.getBin buildPackages.gettext}/bin";
GETTEXT_INCLUDE_DIR = "${lib.getDev gettext}/include";
GETTEXT_LIB_DIR = "${lib.getLib gettext}/lib";
};
nativeBuildInputs = [
cargo
meson
ninja
pkg-config
desktop-file-utils
rustPlatform.cargoSetupHook
rustc
wrapGAppsHook4
glib
];
buildInputs = [
glib
gtk4
libadwaita
];
meta = {
description = "Graphical D-Bus message analyser and profiler";
homepage = "https://gitlab.gnome.org/World/bustle";
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [
jtojnar
];
teams = [ lib.teams.gnome-circle ];
mainProgram = "bustle";
platforms = lib.platforms.unix;
};
})