3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/geoclue/2.0.nix

33 lines
899 B
Nix
Raw Normal View History

{ fetchurl, stdenv, intltool, pkgconfig, glib, json_glib, libsoup, geoip
2015-12-12 13:26:46 +00:00
, dbus, dbus_glib, modemmanager, avahi
}:
stdenv.mkDerivation rec {
2016-04-11 18:40:03 +01:00
name = "geoclue-2.4.3";
src = fetchurl {
2015-12-12 13:26:46 +00:00
url = "http://www.freedesktop.org/software/geoclue/releases/2.4/${name}.tar.xz";
2016-04-11 18:40:03 +01:00
sha256 = "0pk07k65dlw37nz8z5spksivsv5nh96xmbi336rf2yfxf2ldpadd";
};
buildInputs =
[ intltool pkgconfig glib json_glib libsoup geoip
2015-12-12 13:26:46 +00:00
dbus dbus_glib modemmanager avahi
];
preConfigure = ''
substituteInPlace configure --replace "-Werror" ""
'';
2015-04-10 16:02:57 +01:00
configureFlags = [ "--with-systemdsystemunitdir=$(out)/etc/systemd/system" ];
propagatedBuildInputs = [ dbus dbus_glib glib ];
2016-03-09 03:17:17 +00:00
meta = with stdenv.lib; {
description = "Geolocation framework and some data providers";
2016-03-09 03:17:17 +00:00
maintainers = with maintainers; [ raskin garbas ];
platforms = platforms.linux;
license = licenses.lgpl2;
};
}