mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
33 lines
934 B
Nix
33 lines
934 B
Nix
{ fetchurl, stdenv, intltool, pkgconfig, glib, json_glib, libsoup, geoip
|
|
, dbus, dbus_glib, networkmanager, modemmanager
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "geoclue-2.1.10";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.freedesktop.org/software/geoclue/releases/2.1/${name}.tar.xz";
|
|
sha256 = "0s0ws2bx5g1cbjamxmm448r4n4crha2fwpzm8zbx6cq6qslygmzi";
|
|
};
|
|
|
|
buildInputs =
|
|
[ intltool pkgconfig glib json_glib libsoup geoip
|
|
dbus dbus_glib networkmanager modemmanager
|
|
];
|
|
|
|
preConfigure = ''
|
|
substituteInPlace configure --replace "-Werror" ""
|
|
'';
|
|
|
|
configureFlags = [ "--with-systemdsystemunitdir=$(out)/etc/systemd/system" ];
|
|
|
|
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;
|
|
};
|
|
}
|