2017-10-04 22:50:14 +01:00
|
|
|
{ stdenv, fetchurl, gnome3, meson, ninja, pkgconfig, gtk3, intltool, glib
|
2018-12-02 11:41:15 +00:00
|
|
|
, udev, itstool, libxml2, wrapGAppsHook, libnotify, libcanberra-gtk3, gobject-introspection
|
2019-04-17 01:38:26 +01:00
|
|
|
, gtk-doc, docbook_xsl, docbook_xml_dtd_43, python3, gsettings-desktop-schemas }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-08-16 16:20:20 +01:00
|
|
|
let
|
|
|
|
pname = "gnome-bluetooth";
|
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2019-03-03 18:22:03 +00:00
|
|
|
version = "3.32.1";
|
2018-08-16 16:20:20 +01:00
|
|
|
|
|
|
|
# TODO: split out "lib"
|
|
|
|
outputs = [ "out" "dev" "devdoc" "man" ];
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 01:12:11 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2019-03-03 18:22:03 +00:00
|
|
|
sha256 = "1am1gf0nzwg6x1s8ly13j0xnjzgrfj06j0dp52x4zy9s67ywlhb4";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2018-08-16 16:20:20 +01:00
|
|
|
nativeBuildInputs = [
|
2018-12-02 11:41:15 +00:00
|
|
|
meson ninja intltool itstool pkgconfig libxml2 wrapGAppsHook gobject-introspection
|
2018-09-03 21:06:08 +01:00
|
|
|
gtk-doc docbook_xsl docbook_xml_dtd_43 python3
|
2018-08-16 16:20:20 +01:00
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
glib gtk3 udev libnotify libcanberra-gtk3
|
2019-04-17 01:38:26 +01:00
|
|
|
gnome3.adwaita-icon-theme gsettings-desktop-schemas
|
2018-08-16 16:20:20 +01:00
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-08-16 16:20:20 +01:00
|
|
|
mesonFlags = [
|
|
|
|
"-Dicon_update=false"
|
|
|
|
"-Dgtk_doc=true"
|
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2017-10-04 22:50:14 +01:00
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson_post_install.py # patchShebangs requires executable file
|
|
|
|
patchShebangs meson_post_install.py
|
2016-09-18 20:35:23 +01:00
|
|
|
'';
|
|
|
|
|
2018-08-16 16:20:20 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 20:35:23 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://help.gnome.org/users/gnome-bluetooth/stable/index.html.en;
|
|
|
|
description = "Application that let you manage Bluetooth in the GNOME destkop";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|