2013-10-29 16:23:24 +01:00
|
|
|
{ fetchurl, stdenv, intltool, pkgconfig, glib, json_glib, libsoup, geoip
|
2014-05-19 14:42:38 +02:00
|
|
|
, dbus, dbus_glib, networkmanager, modemmanager
|
2013-10-29 16:23:24 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-05-19 14:42:38 +02:00
|
|
|
name = "geoclue-2.1.8";
|
2013-10-29 16:23:24 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-05-19 14:42:38 +02:00
|
|
|
url = "http://www.freedesktop.org/software/geoclue/releases/2.1/${name}.tar.xz";
|
|
|
|
sha256 = "05h102110gsxxvmvllssfz7ldjpwrrb5sqg5rbpibys6iy4w1k6m";
|
2013-10-29 16:23:24 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs =
|
|
|
|
[ intltool pkgconfig glib json_glib libsoup geoip
|
2014-05-19 14:42:38 +02:00
|
|
|
dbus dbus_glib networkmanager modemmanager
|
2013-10-29 16:23:24 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace configure --replace "-Werror" ""
|
|
|
|
'';
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|