1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/pkgs/development/libraries/geoclue/2.0.nix
2014-05-20 13:41:40 +02:00

31 lines
852 B
Nix

{ fetchurl, stdenv, intltool, pkgconfig, glib, json_glib, libsoup, geoip
, dbus, dbus_glib, networkmanager, modemmanager
}:
stdenv.mkDerivation rec {
name = "geoclue-2.1.8";
src = fetchurl {
url = "http://www.freedesktop.org/software/geoclue/releases/2.1/${name}.tar.xz";
sha256 = "05h102110gsxxvmvllssfz7ldjpwrrb5sqg5rbpibys6iy4w1k6m";
};
buildInputs =
[ intltool pkgconfig glib json_glib libsoup geoip
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;
};
}