Merge pull request #272049 from bobby285271/upd/pantheon

pantheon.switchboard-plug-about: Backport AppStream 1.0 build fix
This commit is contained in:
Bobby Rong 2023-12-07 15:43:02 +08:00 committed by GitHub
commit 011272cc6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, nix-update-script
, meson
, ninja
@ -29,6 +30,15 @@ stdenv.mkDerivation rec {
sha256 = "sha256-MJybc2yAchU6qMqkoRz45QdhR7bj/UFk2nyxcBivsHI=";
};
patches = [
# Add support for AppStream 1.0
# https://github.com/elementary/switchboard-plug-about/pull/275
(fetchpatch {
url = "https://github.com/elementary/switchboard-plug-about/commit/72d7da13da2824812908276751fd3024db2dd0f8.patch";
hash = "sha256-R7oW3mL77/JNqxuMiqxtdMlHWMJgGRQBBzVeRiqx8PY=";
})
];
nativeBuildInputs = [
meson
ninja