2016-09-12 00:24:51 +03:00
|
|
|
{ stdenv, fetchurl, dbus, dbus_glib, glib, pkgconfig, libxml2, gnome2, libxslt }:
|
2011-01-02 16:23:59 +03:00
|
|
|
|
2015-04-30 00:56:49 +03: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 16:23:59 +03:00
|
|
|
};
|
|
|
|
|
2016-09-12 00:24:51 +03:00
|
|
|
buildInputs = [ pkgconfig libxml2 gnome2.GConf libxslt ];
|
2011-01-02 16:23:59 +03:00
|
|
|
|
2015-04-30 00:56:49 +03:00
|
|
|
propagatedBuildInputs = [dbus glib dbus_glib];
|
2011-01-02 18:13:36 +03:00
|
|
|
|
2016-02-26 20:38:15 +03:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-11 03:30:51 +03:00
|
|
|
|
2015-04-30 00:56:49 +03:00
|
|
|
preConfigure = ''
|
|
|
|
sed -e '/-Werror/d' -i configure
|
|
|
|
'';
|
2012-02-27 12:18:11 +04:00
|
|
|
|
2015-04-30 00:56:49 +03:00
|
|
|
meta = with stdenv.lib; {
|
2011-01-02 16:23:59 +03:00
|
|
|
description = "Geolocation framework and some data providers";
|
2015-04-30 00:56:49 +03:00
|
|
|
maintainers = with maintainers; [ raskin ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl2;
|
2011-01-02 16:23:59 +03:00
|
|
|
};
|
2015-04-30 00:56:49 +03:00
|
|
|
|
2011-01-02 16:23:59 +03:00
|
|
|
passthru = {
|
|
|
|
updateInfo = {
|
|
|
|
downloadPage = "http://folks.o-hand.com/jku/geoclue-releases/";
|
|
|
|
};
|
|
|
|
};
|
2015-04-30 00:56:49 +03:00
|
|
|
}
|