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 , gtk3
, libxml2 , libxml2
, libhandy , libhandy
, libportal-gtk3
, webkitgtk_4_1 , webkitgtk_4_1
, elementary-gtk-theme
, elementary-icon-theme
, folks , folks
, glib-networking , glib-networking
, granite , granite
@ -21,13 +24,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "elementary-mail"; pname = "elementary-mail";
version = "7.1.0"; version = "7.2.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = "mail"; repo = "mail";
rev = version; rev = version;
sha256 = "sha256-dvDlvn8KvFmiP/NClRtHNEs5gPTUjlzgTYmgIaCfoLw="; sha256 = "sha256-hBOogZ9ZNS9KnuNn+jNhTtlupBxZL2DG/CiuBR1kFu0=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -41,6 +44,7 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ buildInputs = [
elementary-icon-theme
evolution-data-server evolution-data-server
folks folks
glib-networking glib-networking
@ -48,6 +52,7 @@ stdenv.mkDerivation rec {
gtk3 gtk3
libgee libgee
libhandy libhandy
libportal-gtk3
webkitgtk_4_1 webkitgtk_4_1
]; ];
@ -56,6 +61,15 @@ stdenv.mkDerivation rec {
patchShebangs meson/post_install.py 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 = { passthru = {
updateScript = nix-update-script { }; updateScript = nix-update-script { };
}; };