pantheon.switchboard-plug-about: Backport fwupd 2.0.0 support

See fwupd@fbcffc7 ("Use typdef enums in more places to ensure type safety").
This commit is contained in:
Bobby Rong 2024-11-21 20:06:36 +08:00
parent 7a36e6ddbd
commit 35d963f9c5
No known key found for this signature in database

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, nix-update-script
, meson
, ninja
@ -32,6 +33,15 @@ stdenv.mkDerivation rec {
sha256 = "sha256-6b6nuOp4pEufHEmTraSfKpbtPuO3Z9hQJfvKuuyy7as=";
};
patches = [
# Fix build with fwupd 2.0.0
# https://github.com/elementary/switchboard-plug-about/pull/343
(fetchpatch {
url = "https://github.com/elementary/switchboard-plug-about/commit/6f8ba61cb3d82229e19358ede81b77f66dbb06a2.patch";
hash = "sha256-E9itq/KGzw36S1dAFoCowa/A2/f6Shx9F379nEIM2qI=";
})
];
nativeBuildInputs = [
meson
ninja