pantheon.elementary-mail: 7.1.0 -> 7.2.0

https://github.com/elementary/mail/releases/tag/7.2.0
This commit is contained in:
Bobby Rong 2023-08-02 20:54:17 +08:00
parent 9e1960bc19
commit d309780fe8
No known key found for this signature in database

View file

@ -10,7 +10,10 @@
, gtk3
, libxml2
, libhandy
, libportal-gtk3
, webkitgtk_4_1
, elementary-gtk-theme
, elementary-icon-theme
, folks
, glib-networking
, granite
@ -21,13 +24,13 @@
stdenv.mkDerivation rec {
pname = "elementary-mail";
version = "7.1.0";
version = "7.2.0";
src = fetchFromGitHub {
owner = "elementary";
repo = "mail";
rev = version;
sha256 = "sha256-dvDlvn8KvFmiP/NClRtHNEs5gPTUjlzgTYmgIaCfoLw=";
sha256 = "sha256-hBOogZ9ZNS9KnuNn+jNhTtlupBxZL2DG/CiuBR1kFu0=";
};
nativeBuildInputs = [
@ -41,6 +44,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [
elementary-icon-theme
evolution-data-server
folks
glib-networking
@ -48,6 +52,7 @@ stdenv.mkDerivation rec {
gtk3
libgee
libhandy
libportal-gtk3
webkitgtk_4_1
];
@ -56,6 +61,15 @@ stdenv.mkDerivation rec {
patchShebangs meson/post_install.py
'';
preFixup = ''
gappsWrapperArgs+=(
# The GTK theme is hardcoded.
--prefix XDG_DATA_DIRS : "${elementary-gtk-theme}/share"
# The icon theme is hardcoded.
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS"
)
'';
passthru = {
updateScript = nix-update-script { };
};