Unverified Commit fed0cb17 authored by Bobby Rong's avatar Bobby Rong
Browse files

pantheon.elementary-feedback: Backport AppStream 1.0 build fix

parent 3a47ec54
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
{ 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 = [