about summary refs log tree commit diff
path: root/pkgs/development/libraries/geoclue/2.0.nix
blob: d799dfb60271d80c0625be6c6d40e9528863271d (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
{ fetchurl, stdenv, intltool, pkgconfig, glib, json_glib, libsoup, geoip
, dbus, dbus_glib
}:

stdenv.mkDerivation rec {
  name = "geoclue-2.0.0";

  src = fetchurl {
    url = "http://www.freedesktop.org/software/geoclue/releases/2.0/${name}.tar.xz";
    sha256 = "18b7ikdcw2rm04gzw82216shp5m9pghvnsddw233s5jswn2g30ja";
  };

  buildInputs =
   [ intltool pkgconfig glib json_glib libsoup geoip
     dbus dbus_glib
   ];

  preConfigure = ''
     substituteInPlace configure --replace "-Werror" ""
  '';

  propagatedBuildInputs = [ dbus dbus_glib glib ];

  meta = {
    description = "Geolocation framework and some data providers";
    maintainers = with stdenv.lib.maintainers; [ raskin garbas ];
    platforms = stdenv.lib.platforms.linux;
    license = stdenv.lib.licenses.lgpl2;
  };
}