2017-10-04 23:50:14 +02:00
|
|
|
{ stdenv, fetchurl, gnome3, meson, ninja, pkgconfig, gtk3, intltool, glib
|
2018-02-25 03:23:58 +01:00
|
|
|
, udev, itstool, libxml2, wrapGAppsHook, libnotify, libcanberra-gtk3, gobjectIntrospection }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 21:07:20 +01:00
|
|
|
name = "gnome-bluetooth-${version}";
|
2018-03-13 02:03:18 +01:00
|
|
|
version = "3.28.0";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/gnome-bluetooth/${gnome3.versionBranch version}/${name}.tar.xz";
|
2018-03-13 02:03:18 +01:00
|
|
|
sha256 = "0q7yzklrlayj99risj096mr5x35anx94wvr6nbf6pwbvvzv7453p";
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript { packageName = "gnome-bluetooth"; attrPath = "gnome3.gnome-bluetooth"; };
|
|
|
|
};
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2017-12-03 23:51:33 +01:00
|
|
|
nativeBuildInputs = [ meson ninja intltool itstool pkgconfig libxml2 wrapGAppsHook gobjectIntrospection ];
|
2018-02-25 03:23:58 +01:00
|
|
|
buildInputs = [ glib gtk3 udev libnotify libcanberra-gtk3
|
|
|
|
gnome3.defaultIconTheme gnome3.gsettings-desktop-schemas ];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2017-10-04 23:50:14 +02:00
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson_post_install.py # patchShebangs requires executable file
|
|
|
|
patchShebangs meson_post_install.py
|
2016-09-18 21:35:23 +02: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;
|
|
|
|
};
|
|
|
|
}
|