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

gnome.gnome-software: Backport AppStream 1.0 build fix

parent 0426692a
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
{ 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 = [