2013-10-29 19:23:24 +04:00
|
|
|
{ fetchurl, stdenv, intltool, pkgconfig, glib, json_glib, libsoup, geoip
|
2014-05-19 16:42:38 +04:00
|
|
|
, dbus, dbus_glib, networkmanager, modemmanager
|
2013-10-29 19:23:24 +04:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-11-03 11:57:37 +03:00
|
|
|
name = "geoclue-2.1.10";
|
2013-10-29 19:23:24 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-05-19 16:42:38 +04:00
|
|
|
url = "http://www.freedesktop.org/software/geoclue/releases/2.1/${name}.tar.xz";
|
2014-11-03 11:57:37 +03:00
|
|
|
sha256 = "0s0ws2bx5g1cbjamxmm448r4n4crha2fwpzm8zbx6cq6qslygmzi";
|
2013-10-29 19:23:24 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs =
|
|
|
|
[ intltool pkgconfig glib json_glib libsoup geoip
|
2014-05-19 16:42:38 +04:00
|
|
|
dbus dbus_glib networkmanager modemmanager
|
2013-10-29 19:23:24 +04:00
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace configure --replace "-Werror" ""
|
|
|
|
'';
|
|
|
|
|
2015-04-10 18:02:57 +03:00
|
|
|
configureFlags = [ "--with-systemdsystemunitdir=$(out)/etc/systemd/system" ];
|
|
|
|
|
2013-10-29 19:23:24 +04: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;
|
|
|
|
};
|
|
|
|
}
|