|
|
|
@ -1,7 +1,6 @@ |
|
|
|
|
{ stdenv |
|
|
|
|
, lib |
|
|
|
|
, fetchurl |
|
|
|
|
, fetchpatch |
|
|
|
|
, meson |
|
|
|
|
, mesonEmulatorHook |
|
|
|
|
, ninja |
|
|
|
@ -19,31 +18,17 @@ |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
pname = "geocode-glib"; |
|
|
|
|
version = "3.26.3"; |
|
|
|
|
version = "3.26.4"; |
|
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" "devdoc" "installedTests" ]; |
|
|
|
|
|
|
|
|
|
src = fetchurl { |
|
|
|
|
url = "mirror://gnome/sources/geocode-glib/${lib.versions.majorMinor version}/geocode-glib-${version}.tar.xz"; |
|
|
|
|
sha256 = "Hf6ug7kOzMobbPfc98XjsxeCjPC1YgXERx7w+RGZl2Y="; |
|
|
|
|
sha256 = "LZpoJtFYRwRJoXOHEiFZbaD4Pr3P+YuQxwSQiQVqN6o="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
patches = [ |
|
|
|
|
./installed-tests-path.patch |
|
|
|
|
|
|
|
|
|
# Install data for pi test. |
|
|
|
|
(fetchpatch { |
|
|
|
|
url = "https://gitlab.gnome.org/GNOME/geocode-glib/-/commit/0eb5c21cf4deb2c45aedf5a4393d4208b8dc6d58.patch"; |
|
|
|
|
sha256 = "DmaPzGEu7f+gjjb2HSZ3+ZMc4EJSsba9ufsVysB0UPA="; |
|
|
|
|
}) |
|
|
|
|
# Fix pi test. |
|
|
|
|
(fetchpatch { |
|
|
|
|
url = "https://gitlab.gnome.org/GNOME/geocode-glib/-/commit/464bb3bae5525566a7f41d157f73575cc4f3b5f8.patch"; |
|
|
|
|
sha256 = "qSjXR8eKl+E38Zp7/Kgge/FxOLHYUJgRSR68okc3No0="; |
|
|
|
|
postFetch = '' |
|
|
|
|
substituteInPlace $out --replace "LC_MESSAGES" "LC_ALL" |
|
|
|
|
''; |
|
|
|
|
}) |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ |
|
|
|
|