[staging-next] gnome-calculator: fix build (#510966)

This commit is contained in:
Matteo Pacini
2026-04-18 21:45:05 +00:00
committed by GitHub
@@ -9,6 +9,7 @@
gettext,
itstool,
fetchurl,
fetchpatch,
pkg-config,
libxml2,
gtk4,
@@ -34,6 +35,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-3fTNLt2hNcQcivaPnAzc2dmpFjy59/jijKLI6B/Ydlc=";
};
patches = [
# Fix tests with GNU MPC 1.4.0
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-calculator/-/commit/c9bf69ce3688390a584ca7571ea5fcda5aea8863.patch";
hash = "sha256-FoV6SUprVdNcRORpoi+bNMTjzMM8bmXuze+6C9lqF8E=";
})
];
nativeBuildInputs = [
appstream
blueprint-compiler