2018-02-25 02:23:58 +00:00
|
|
|
{ stdenv, fetchurl, dbus, dbus-glib, glib, pkgconfig, libxml2, gnome2,
|
|
|
|
libxslt, glib-networking }:
|
2011-01-02 13:23:59 +00:00
|
|
|
|
2015-04-29 22:56:49 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "geoclue-0.12.0";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://launchpad.net/geoclue/trunk/0.12/+download/${name}.tar.gz";
|
|
|
|
sha256 = "15j619kvmdgj2hpma92mkxbzjvgn8147a7500zl3bap9g8bkylqg";
|
2011-01-02 13:23:59 +00:00
|
|
|
};
|
|
|
|
|
2017-10-28 17:17:54 +01:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-02-25 02:23:58 +00:00
|
|
|
buildInputs = [ libxml2 gnome2.GConf libxslt glib-networking ];
|
2011-01-02 13:23:59 +00:00
|
|
|
|
2018-02-25 02:23:58 +00:00
|
|
|
propagatedBuildInputs = [dbus glib dbus-glib];
|
2011-01-02 15:13:36 +00:00
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-11 00:30:51 +00:00
|
|
|
|
2015-04-29 22:56:49 +01:00
|
|
|
preConfigure = ''
|
|
|
|
sed -e '/-Werror/d' -i configure
|
|
|
|
'';
|
2012-02-27 08:18:11 +00:00
|
|
|
|
2015-04-29 22:56:49 +01:00
|
|
|
meta = with stdenv.lib; {
|
2011-01-02 13:23:59 +00:00
|
|
|
description = "Geolocation framework and some data providers";
|
2015-04-29 22:56:49 +01:00
|
|
|
maintainers = with maintainers; [ raskin ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl2;
|
2011-01-02 13:23:59 +00:00
|
|
|
};
|
2015-04-29 22:56:49 +01:00
|
|
|
|
2011-01-02 13:23:59 +00:00
|
|
|
passthru = {
|
|
|
|
updateInfo = {
|
|
|
|
downloadPage = "http://folks.o-hand.com/jku/geoclue-releases/";
|
|
|
|
};
|
|
|
|
};
|
2015-04-29 22:56:49 +01:00
|
|
|
}
|