blob: 83becae05a4c44068f0cf666950b5e915a087453 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ fetchurl, stdenv, intltool, pkgconfig, glib, json_glib, libsoup, geoip
, dbus, dbus_glib, modemmanager, avahi
}:
stdenv.mkDerivation rec {
name = "geoclue-2.4.2";
src = fetchurl {
url = "http://www.freedesktop.org/software/geoclue/releases/2.4/${name}.tar.xz";
sha256 = "0g4krigdaf5ipkp4mi16rca62crr8pdk3wkhm0fxbcqnil75fyy4";
};
buildInputs =
[ intltool pkgconfig glib json_glib libsoup geoip
dbus dbus_glib modemmanager avahi
];
preConfigure = ''
substituteInPlace configure --replace "-Werror" ""
'';
configureFlags = [ "--with-systemdsystemunitdir=$(out)/etc/systemd/system" ];
propagatedBuildInputs = [ dbus dbus_glib glib ];
meta = with stdenv.lib; {
description = "Geolocation framework and some data providers";
maintainers = with maintainers; [ raskin garbas ];
platforms = platforms.linux;
license = licenses.lgpl2;
};
}
|