Files
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

91 lines
1.7 KiB
Nix

{
lib,
stdenv,
fetchurl,
gnome,
meson,
mesonEmulatorHook,
ninja,
pkg-config,
gtk4,
libadwaita,
gettext,
glib,
udev,
upower,
itstool,
libxml2,
wrapGAppsHook4,
libnotify,
gsound,
gobject-introspection,
gtk-doc,
docbook-xsl-nons,
docbook_xml_dtd_43,
python3,
gsettings-desktop-schemas,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "gnome-bluetooth";
version = "47.1";
# TODO: split out "lib"
outputs = [
"out"
"dev"
"devdoc"
"man"
];
src = fetchurl {
url = "mirror://gnome/sources/gnome-bluetooth/${lib.versions.major finalAttrs.version}/gnome-bluetooth-${finalAttrs.version}.tar.xz";
hash = "sha256-A+PnQDoVEI/8FJYhCh2lwpYbKDSlwH7Mx6P0kxldq6M=";
};
nativeBuildInputs = [
meson
ninja
gettext
itstool
pkg-config
libxml2
wrapGAppsHook4
gobject-introspection
gtk-doc
docbook-xsl-nons
docbook_xml_dtd_43
python3
]
++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ mesonEmulatorHook ];
buildInputs = [
glib
gtk4
libadwaita
udev
upower
libnotify
gsound
gsettings-desktop-schemas
];
mesonFlags = [ "-Dgtk_doc=true" ];
passthru = {
updateScript = gnome.updateScript {
packageName = "gnome-bluetooth";
};
};
meta = with lib; {
homepage = "https://gitlab.gnome.org/GNOME/gnome-bluetooth";
changelog = "https://gitlab.gnome.org/GNOME/gnome-bluetooth/-/blob/${finalAttrs.version}/NEWS?ref_type=tags";
description = "Application that lets you manage Bluetooth in the GNOME desktop";
mainProgram = "bluetooth-sendto";
teams = [ teams.gnome ];
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
})