pantheon.switchboard-plug-onlineaccounts: Fix build with evolution-data-server 3.46

This commit is contained in:
Bobby Rong 2022-09-21 10:14:25 +08:00 committed by Jan Tojnar
parent 5364f7c7ec
commit 0cce06c632

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, nix-update-script
, meson
, ninja
@ -10,9 +11,7 @@
, glib
, granite
, gtk3
, libgdata
, libhandy
, sqlite
, switchboard
}:
@ -27,6 +26,15 @@ stdenv.mkDerivation rec {
sha256 = "sha256-Q/vvXKyeedn5o7HnL9F5ixSjJS3OWrvvHbzvx2fW2qY=";
};
patches = [
# build: support evolution-data-server 3.45
# https://github.com/elementary/switchboard-plug-onlineaccounts/pull/244
(fetchpatch {
url = "https://github.com/elementary/switchboard-plug-onlineaccounts/commit/b60f0458a23a2f76ad14d399f145e150e1ab82d3.patch";
sha256 = "sha256-C7woN4shPrVlSWZeW0Fz+xFi5CTQd2K5BsF5YeI9x0Y=";
})
];
nativeBuildInputs = [
meson
ninja
@ -39,9 +47,7 @@ stdenv.mkDerivation rec {
glib
granite
gtk3
libgdata
libhandy
sqlite # needed for camel-1.2
switchboard
];