1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 02:24:27 +00:00
nixpkgs/pkgs/development/libraries/geoclue/2.0.nix

31 lines
853 B
Nix
Raw Normal View History

{ fetchurl, stdenv, intltool, pkgconfig, glib, json_glib, libsoup, geoip
2014-05-19 13:42:38 +01:00
, dbus, dbus_glib, networkmanager, modemmanager
}:
stdenv.mkDerivation rec {
2014-11-03 08:57:37 +00:00
name = "geoclue-2.1.10";
src = fetchurl {
2014-05-19 13:42:38 +01:00
url = "http://www.freedesktop.org/software/geoclue/releases/2.1/${name}.tar.xz";
2014-11-03 08:57:37 +00:00
sha256 = "0s0ws2bx5g1cbjamxmm448r4n4crha2fwpzm8zbx6cq6qslygmzi";
};
buildInputs =
[ intltool pkgconfig glib json_glib libsoup geoip
2014-05-19 13:42:38 +01:00
dbus dbus_glib networkmanager modemmanager
];
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;
};
}