ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / gn / gnome-bluetooth / package.nix
blobca5d61a3c3f42ebd258ad62e6a5c3793f4499e90
2   lib,
3   stdenv,
4   fetchurl,
5   gnome,
6   meson,
7   mesonEmulatorHook,
8   ninja,
9   pkg-config,
10   gtk4,
11   libadwaita,
12   gettext,
13   glib,
14   udev,
15   upower,
16   itstool,
17   libxml2,
18   wrapGAppsHook4,
19   libnotify,
20   gsound,
21   gobject-introspection,
22   gtk-doc,
23   docbook-xsl-nons,
24   docbook_xml_dtd_43,
25   python3,
26   gsettings-desktop-schemas,
29 stdenv.mkDerivation (finalAttrs: {
30   pname = "gnome-bluetooth";
31   version = "47.1";
33   # TODO: split out "lib"
34   outputs = [
35     "out"
36     "dev"
37     "devdoc"
38     "man"
39   ];
41   src = fetchurl {
42     url = "mirror://gnome/sources/gnome-bluetooth/${lib.versions.major finalAttrs.version}/gnome-bluetooth-${finalAttrs.version}.tar.xz";
43     hash = "sha256-A+PnQDoVEI/8FJYhCh2lwpYbKDSlwH7Mx6P0kxldq6M=";
44   };
46   nativeBuildInputs = [
47     meson
48     ninja
49     gettext
50     itstool
51     pkg-config
52     libxml2
53     wrapGAppsHook4
54     gobject-introspection
55     gtk-doc
56     docbook-xsl-nons
57     docbook_xml_dtd_43
58     python3
59   ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ mesonEmulatorHook ];
61   buildInputs = [
62     glib
63     gtk4
64     libadwaita
65     udev
66     upower
67     libnotify
68     gsound
69     gsettings-desktop-schemas
70   ];
72   mesonFlags = [ "-Dgtk_doc=true" ];
74   passthru = {
75     updateScript = gnome.updateScript {
76       packageName = "gnome-bluetooth";
77     };
78   };
80   meta = with lib; {
81     homepage = "https://gitlab.gnome.org/GNOME/gnome-bluetooth";
82     changelog = "https://gitlab.gnome.org/GNOME/gnome-bluetooth/-/blob/${finalAttrs.version}/NEWS?ref_type=tags";
83     description = "Application that lets you manage Bluetooth in the GNOME desktop";
84     mainProgram = "bluetooth-sendto";
85     maintainers = teams.gnome.members;
86     license = licenses.gpl2Plus;
87     platforms = platforms.linux;
88   };