gnome.gnome-maps: 45.5 → 46.0
https://gitlab.gnome.org/GNOME/gnome-maps/-/compare/v45.5...v46.0 Changelog-Reviewed-By: Maxine Aubrey <max@ine.dev>
This commit is contained in:
@@ -24,18 +24,19 @@
|
||||
, gjs
|
||||
, libadwaita
|
||||
, geocode-glib_2
|
||||
, tzdata
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gnome-maps";
|
||||
version = "45.5";
|
||||
version = "46.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-maps/${lib.versions.major finalAttrs.version}/gnome-maps-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-HCD14Q3OaEre+ylhUmJmoiTmxGwW+gO5VK/6Czobt0A=";
|
||||
hash = "sha256-5wl5tWB1uaMFHzdepwgOpIHnvVIp5tgij43pYcriqa4=";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
@@ -80,6 +81,19 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
preCheck = ''
|
||||
# “time.js” included by “timeTest” and “translationsTest” depends on “org.gnome.desktop.interface” schema.
|
||||
export XDG_DATA_DIRS="${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:$XDG_DATA_DIRS"
|
||||
export HOME=$(mktemp -d)
|
||||
export TZDIR=${tzdata}/share/zoneinfo
|
||||
|
||||
# Our gobject-introspection patches make the shared library paths absolute
|
||||
# in the GIR files. When running tests, the library is not yet installed,
|
||||
# though, so we need to replace the absolute path with a local one during build.
|
||||
# We are using a symlink that we will delete before installation.
|
||||
mkdir -p $out/lib/gnome-maps
|
||||
ln -s $PWD/lib/libgnome-maps.so.0 $out/lib/gnome-maps/libgnome-maps.so.0
|
||||
'';
|
||||
|
||||
postCheck = ''
|
||||
rm $out/lib/gnome-maps/libgnome-maps.so.0
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
|
||||
Reference in New Issue
Block a user