2013-10-29 16:23:24 +01:00
|
|
|
{ fetchurl, stdenv, intltool, pkgconfig, glib, json_glib, libsoup, geoip
|
2015-12-12 14:26:46 +01:00
|
|
|
, dbus, dbus_glib, modemmanager, avahi
|
2013-10-29 16:23:24 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-12-12 14:26:46 +01:00
|
|
|
name = "geoclue-2.4.1";
|
2013-10-29 16:23:24 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-12-12 14:26:46 +01:00
|
|
|
url = "http://www.freedesktop.org/software/geoclue/releases/2.4/${name}.tar.xz";
|
|
|
|
sha256 = "1m1l1npdv804m98xhfpd1wl1whrrp2pjivliwwlnyk86yq0gs6cs";
|
2013-10-29 16:23:24 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs =
|
|
|
|
[ intltool pkgconfig glib json_glib libsoup geoip
|
2015-12-12 14:26:46 +01:00
|
|
|
dbus dbus_glib modemmanager avahi
|
2013-10-29 16:23:24 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace configure --replace "-Werror" ""
|
|
|
|
'';
|
|
|
|
|
2015-04-10 17:02:57 +02:00
|
|
|
configureFlags = [ "--with-systemdsystemunitdir=$(out)/etc/systemd/system" ];
|
|
|
|
|
2013-10-29 16:23:24 +01:00
|
|
|
propagatedBuildInputs = [ dbus dbus_glib glib ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Geolocation framework and some data providers";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ raskin garbas ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
license = stdenv.lib.licenses.lgpl2;
|
|
|
|
};
|
|
|
|
}
|