gnome.gnome-software: Backport AppStream 1.0 build fix

This commit is contained in:
Bobby Rong
2024-01-04 22:28:07 +08:00
parent 0426692aa2
commit fbdd55d995
@@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, substituteAll
, pkg-config
, meson
@@ -57,6 +58,17 @@ stdenv.mkDerivation rec {
src = ./fix-paths.patch;
inherit isocodes;
})
# Add support for AppStream 1.0.
# https://gitlab.gnome.org/GNOME/gnome-software/-/issues/2393
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-software/-/commit/0655f358ed0e8455e12d9634f60bc4dbaee434e3.patch";
hash = "sha256-8IXXUfNeha5yRlRLuxQV8whwQmyNw7Aoi/r5NNFS/zA=";
})
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-software/-/commit/e431ab003f3fabf616b6eb7dc93f8967bc9473e5.patch";
hash = "sha256-Y5GcC1XMbb9Bl2/VKFnrV1B/ipLKxY4guse25LhxhKM=";
})
];
nativeBuildInputs = [