diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/geoclue/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/geoclue/default.nix | 35 |
1 files changed, 8 insertions, 27 deletions
diff --git a/nixpkgs/pkgs/development/libraries/geoclue/default.nix b/nixpkgs/pkgs/development/libraries/geoclue/default.nix index d7b417ac09e9..4bad33000c06 100644 --- a/nixpkgs/pkgs/development/libraries/geoclue/default.nix +++ b/nixpkgs/pkgs/development/libraries/geoclue/default.nix @@ -12,7 +12,7 @@ , docbook_xml_dtd_412 , glib , json-glib -, libsoup +, libsoup_3 , libnotify , gdk-pixbuf , modemmanager @@ -27,38 +27,19 @@ stdenv.mkDerivation rec { pname = "geoclue"; - version = "2.5.7"; + version = "2.7.0"; outputs = [ "out" "dev" "devdoc" ]; src = fetchFromGitLab { domain = "gitlab.freedesktop.org"; - owner = pname; - repo = pname; + owner = "geoclue"; + repo = "geoclue"; rev = version; - sha256 = "1mv1vs4q94bqkmgkj53jcsw1x31kczwydyy3r27a7fycgzmii1pj"; + hash = "sha256-vzarUg4lBEXYkH+n9SY8SYr0gHUX94PSTDmKd957gyc="; }; patches = [ - # Fix for falling back to GeoIP when WiFi devices are not found - # https://gitlab.freedesktop.org/geoclue/geoclue/-/commit/2de651b6590087a2df2defe8f3d85b3cf6b91494 - # NOTE: this should be removed when the next version is released - (fetchpatch { - url = "https://gitlab.freedesktop.org/geoclue/geoclue/commit/2de651b6590087a2df2defe8f3d85b3cf6b91494.patch"; - sha256 = "hv7t2Hmpv2oDXiPWA7JpYD9q+cuuk+En/lJJickvFII="; - }) - - # Make the Mozilla API key configurable - # https://gitlab.freedesktop.org/geoclue/geoclue/merge_requests/54 (only partially backported) - (fetchpatch { - url = "https://gitlab.freedesktop.org/geoclue/geoclue/commit/95c9ad4dc176860c85a07d0db4cb4179929bdb54.patch"; - sha256 = "/lq/dLBJl2vf16tt7emYoTtXY6iUw+4s2XcABUHp3Kc="; - }) - (fetchpatch { - url = "https://gitlab.freedesktop.org/geoclue/geoclue/commit/1a00809a0d89b0849a57647c878d192354247a33.patch"; - sha256 = "6FuiukgFWg2cEKt8LlKP4E0rfSH/ZQgk6Ip1mGJpNFQ="; - }) - ./add-option-for-installation-sysconfdir.patch ]; @@ -82,7 +63,7 @@ stdenv.mkDerivation rec { buildInputs = [ glib json-glib - libsoup + libsoup_3 avahi gobject-introspection ] ++ lib.optionals withDemoAgent [ @@ -120,8 +101,8 @@ stdenv.mkDerivation rec { broken = stdenv.isDarwin && withDemoAgent; description = "Geolocation framework and some data providers"; homepage = "https://gitlab.freedesktop.org/geoclue/geoclue/wikis/home"; - maintainers = with maintainers; [ raskin ]; + maintainers = with maintainers; [ raskin mimame ]; platforms = with platforms; linux ++ darwin; - license = licenses.lgpl2; + license = licenses.lgpl2Plus; }; } |