Merge pull request #326316 from doronbehar/pkg/ayatana-webmail

ayatana-webmail: 22.12.15 -> 24.5.17
This commit is contained in:
❄️ 2024-07-14 08:03:58 -03:00 committed by GitHub
commit aa247c0c90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,34 +1,31 @@
{ lib
, fetchFromGitHub
, gettext
, gtk3
, python311Packages
, gdk-pixbuf
, libnotify
, glib
, gobject-introspection
, wrapGAppsHook3
# BTW libappindicator is also supported, but upstream recommends their
# implementation, see:
# https://github.com/AyatanaIndicators/ayatana-webmail/issues/24#issuecomment-1050352862
, libayatana-appindicator
, gsettings-desktop-schemas
, libcanberra-gtk3
{
lib,
fetchFromGitHub,
gettext,
gtk3,
python3Packages,
gdk-pixbuf,
libnotify,
glib,
gobject-introspection,
wrapGAppsHook3,
# BTW libappindicator is also supported, but upstream recommends their
# implementation, see:
# https://github.com/AyatanaIndicators/ayatana-webmail/issues/24#issuecomment-1050352862
libayatana-appindicator,
gsettings-desktop-schemas,
libcanberra-gtk3,
}:
let
# https://github.com/AyatanaIndicators/ayatana-webmail/issues/38
python3Packages = python311Packages;
in
python3Packages.buildPythonApplication rec {
pname = "ayatana-webmail";
version = "22.12.15";
version = "24.5.17";
src = fetchFromGitHub {
owner = "AyatanaIndicators";
repo = "ayatana-webmail";
rev = version;
hash = "sha256-K2jqCWrY1i1wYdZVpjN/3TcVyWariOQQ4slZf6sEPRU=";
rev = "refs/tags/${version}";
hash = "sha256-k557FWKGq2MXODVxVzOetC5kkwTNYOoLO8msCOabais=";
};
postConfigure = ''
# Fix fhs paths
@ -36,7 +33,7 @@ python3Packages.buildPythonApplication rec {
ayatanawebmail/accounts.py \
ayatanawebmail/actions.py \
ayatanawebmail/dialog.py \
--replace /usr/share $out/share
--replace-fail /usr/share $out/share
'';
buildInputs = [
@ -84,11 +81,11 @@ python3Packages.buildPythonApplication rec {
makeWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ libcanberra-gtk3 ]})
'';
meta = with lib; {
meta = {
description = "Webmail notifications and actions for any desktop";
homepage = "https://github.com/AyatanaIndicators/ayatana-webmail";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ doronbehar ];
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ doronbehar ];
};
}