gnome-font-viewer: 49.0 → 50.0

https://gitlab.gnome.org/GNOME/gnome-font-viewer/-/compare/49.0...50.0
This commit is contained in:
winston
2026-05-06 23:03:28 +08:00
committed by Bobby Rong
parent 67ef3f19db
commit d55f8494b7
@@ -14,15 +14,16 @@
wrapGAppsHook4,
gnome,
harfbuzz,
desktop-file-utils,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "gnome-font-viewer";
version = "49.0";
version = "50.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-font-viewer/${lib.versions.major finalAttrs.version}/gnome-font-viewer-${finalAttrs.version}.tar.xz";
hash = "sha256-fAGJJcKFdxtV19Gm8VcRwMGT10UO2YceINRPJUhWJAQ=";
hash = "sha256-lWSwiMWxUMVOKjp7xwFN7sbuVRJh6YSI+JGx8bjca4A=";
};
doCheck = true;
@@ -35,6 +36,7 @@ stdenv.mkDerivation (finalAttrs: {
wrapGAppsHook4
libxml2
glib
desktop-file-utils
];
buildInputs = [
@@ -45,13 +47,6 @@ stdenv.mkDerivation (finalAttrs: {
fribidi
];
# Do not run meson-postinstall.sh
preConfigure = "sed -i '2,$ d' meson-postinstall.sh";
env = lib.optionalAttrs stdenv.cc.isGNU {
NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
};
passthru = {
updateScript = gnome.updateScript {
packageName = "gnome-font-viewer";