pantheon.elementary-settings-daemon: 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:08:32 +08:00
parent 35d963f9c5
commit d8e545500a
No known key found for this signature in database

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, nix-update-script
, meson
, ninja
@ -34,6 +35,15 @@ stdenv.mkDerivation rec {
sha256 = "sha256-w5dRQPRsM52wqusTLLPmKmVwoBFS+pHOokfDmCDxVWM=";
};
patches = [
# Fix build with fwupd 2.0.0
# https://github.com/elementary/settings-daemon/pull/169
(fetchpatch {
url = "https://github.com/elementary/settings-daemon/commit/f9f9e6c49ef89451ad45aa8314769a0358a5e481.patch";
hash = "sha256-zLONUqRwODK3JXaoymztEfOIJONJpwcTp5AWv0Vl+EI=";
})
];
nativeBuildInputs = [
desktop-file-utils
gobject-introspection