nixpkgs/pkgs/development/libraries/geoclue/default.nix

37 lines
942 B
Nix
Raw Normal View History

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