geoclue: 2.4.10 -> 2.4.12

This commit is contained in:
Michael Peyton Jones 2018-08-09 15:20:28 +01:00
parent a1762065c3
commit 284fc9b449
No known key found for this signature in database
GPG Key ID: 86A43C24A728F66D

View File

@ -7,17 +7,19 @@ with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "geoclue-${version}"; name = "geoclue-${version}";
version = "2.4.10"; version = "2.4.12";
src = fetchurl { src = fetchurl {
url = "https://www.freedesktop.org/software/geoclue/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; url = "https://www.freedesktop.org/software/geoclue/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "0h4n8jf7w457sglfdhghkyf8n4v4a5jrx8dgdy5zn35nbscx24l4"; sha256 = "1jnad1f3rf8h05sz1lc172jnqdhqdpz76ff6m7i5ss3s0znf5l05";
}; };
outputs = [ "out" "dev" "devdoc" ]; outputs = [ "out" "dev" "devdoc" ];
nativeBuildInputs = [ nativeBuildInputs = [
pkgconfig intltool gtk-doc docbook_xsl docbook_xml_dtd_412 wrapGAppsHook gobjectIntrospection pkgconfig intltool wrapGAppsHook gobjectIntrospection
# devdoc
gtk-doc docbook_xsl docbook_xml_dtd_412
]; ];
buildInputs = [ buildInputs = [
@ -41,11 +43,6 @@ stdenv.mkDerivation rec {
"--disable-nmea-source" "--disable-nmea-source"
]; ];
# https://gitlab.freedesktop.org/geoclue/geoclue/issues/73
postInstall = ''
sed -i $dev/lib/pkgconfig/libgeoclue-2.0.pc -e "s|includedir=.*|includedir=$dev/include|"
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Geolocation framework and some data providers"; description = "Geolocation framework and some data providers";
homepage = https://gitlab.freedesktop.org/geoclue/geoclue/wikis/home; homepage = https://gitlab.freedesktop.org/geoclue/geoclue/wikis/home;