summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorArda Xi <arda@ardaxi.com>2017-10-11 13:51:31 +0200
committerArda Xi <arda@ardaxi.com>2017-10-11 15:43:35 +0200
commite1b74291bd218a0e943a7f13d4ae9dc7f36b2200 (patch)
tree02a8debfad77184bbcd37b569726a33ca9136799 /pkgs
parent4f6ce0d07780f05bd17c34c726565a804804362a (diff)
downloadnixlib-e1b74291bd218a0e943a7f13d4ae9dc7f36b2200.tar
nixlib-e1b74291bd218a0e943a7f13d4ae9dc7f36b2200.tar.gz
nixlib-e1b74291bd218a0e943a7f13d4ae9dc7f36b2200.tar.bz2
nixlib-e1b74291bd218a0e943a7f13d4ae9dc7f36b2200.tar.lz
nixlib-e1b74291bd218a0e943a7f13d4ae9dc7f36b2200.tar.xz
nixlib-e1b74291bd218a0e943a7f13d4ae9dc7f36b2200.tar.zst
nixlib-e1b74291bd218a0e943a7f13d4ae9dc7f36b2200.zip
geoclue2: Add glib_networking and wrapGAppsHook
geoclue2 without GNOME requires glib_networking in order to make HTTPS
connections to location providers. Additionally, geoclue2 crashes if an
NMEA provider is found on the network without GSettings support.

Also moved intltool to nativeBuildInputs as per good practices.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/geoclue/2.0.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/libraries/geoclue/2.0.nix b/pkgs/development/libraries/geoclue/2.0.nix
index b6e74a49cec6..64d61d64bb63 100644
--- a/pkgs/development/libraries/geoclue/2.0.nix
+++ b/pkgs/development/libraries/geoclue/2.0.nix
@@ -1,5 +1,5 @@
 { fetchurl, stdenv, intltool, libintlOrEmpty, pkgconfig, glib, json_glib, libsoup, geoip
-, dbus, dbus_glib, modemmanager, avahi
+, dbus, dbus_glib, modemmanager, avahi, glib_networking, wrapGAppsHook
 }:
 
 with stdenv.lib;
@@ -13,11 +13,11 @@ stdenv.mkDerivation rec {
   };
 
   nativeBuildInputs = [
-    pkgconfig
+    pkgconfig intltool wrapGAppsHook
   ];
 
   buildInputs = libintlOrEmpty ++
-   [ intltool glib json_glib libsoup geoip
+   [ glib json_glib libsoup geoip
      dbus dbus_glib avahi
    ] ++ optionals (!stdenv.isDarwin) [ modemmanager ];
 
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
 
   NIX_CFLAGS_COMPILE = optionalString stdenv.isDarwin " -lintl";
 
-  propagatedBuildInputs = [ dbus dbus_glib glib ];
+  propagatedBuildInputs = [ dbus dbus_glib glib glib_networking ];
 
   meta = with stdenv.lib; {
     description = "Geolocation framework and some data providers";