pantheon.elementary-feedback: Backport AppStream 1.0 build fix

This commit is contained in:
Bobby Rong 2023-12-10 16:14:32 +08:00
parent 3a47ec54b8
commit fed0cb17ed
No known key found for this signature in database

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, nix-update-script
, pkg-config
, meson
@ -32,6 +33,13 @@ stdenv.mkDerivation rec {
# https://github.com/ximion/appstream/blob/v0.15.2/src/as-pool.c#L117
# https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location
./fix-metadata-path.patch
# Add support for AppStream 1.0.
# https://github.com/elementary/feedback/pull/102
(fetchpatch {
url = "https://github.com/elementary/feedback/commit/037b20328f5200a0dac25e6835c0c3f8a7c36f39.patch";
hash = "sha256-tjUNTCsEBjy/3lzwyIwR4VED57ATiG2CWCmRh7qps+4=";
})
];
nativeBuildInputs = [