2013-10-29 15:23:24 +00:00
|
|
|
{ fetchurl, stdenv, intltool, pkgconfig, glib, json_glib, libsoup, geoip
|
2014-05-19 13:42:38 +01:00
|
|
|
, dbus, dbus_glib, networkmanager, modemmanager
|
2013-10-29 15:23:24 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-11-03 08:57:37 +00:00
|
|
|
name = "geoclue-2.1.10";
|
2013-10-29 15:23:24 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-05-19 13:42:38 +01:00
|
|
|
url = "http://www.freedesktop.org/software/geoclue/releases/2.1/${name}.tar.xz";
|
2014-11-03 08:57:37 +00:00
|
|
|
sha256 = "0s0ws2bx5g1cbjamxmm448r4n4crha2fwpzm8zbx6cq6qslygmzi";
|
2013-10-29 15:23:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs =
|
|
|
|
[ intltool pkgconfig glib json_glib libsoup geoip
|
2014-05-19 13:42:38 +01:00
|
|
|
dbus dbus_glib networkmanager modemmanager
|
2013-10-29 15:23:24 +00: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;
|
|
|
|
};
|
|
|
|
}
|