10 gobject-introspection,
12 # BTW libappindicator is also supported, but upstream recommends their
13 # implementation, see:
14 # https://github.com/AyatanaIndicators/ayatana-webmail/issues/24#issuecomment-1050352862
15 libayatana-appindicator,
16 gsettings-desktop-schemas,
20 python3Packages.buildPythonApplication rec {
21 pname = "ayatana-webmail";
24 src = fetchFromGitHub {
25 owner = "AyatanaIndicators";
26 repo = "ayatana-webmail";
27 rev = "refs/tags/${version}";
28 hash = "sha256-k557FWKGq2MXODVxVzOetC5kkwTNYOoLO8msCOabais=";
33 ayatanawebmail/accounts.py \
34 ayatanawebmail/actions.py \
35 ayatanawebmail/dialog.py \
36 --replace-fail /usr/share $out/share
45 libayatana-appindicator
46 gsettings-desktop-schemas
52 glib # For compiling gsettings-schemas
55 propagatedBuildInputs = with python3Packages; [
65 # No tests, and they cause a failure
70 mv $out/${python3Packages.python.sitePackages}/etc $out
71 mv $out/${python3Packages.python.sitePackages}/usr/{bin,share} $out/
72 rmdir $out/${python3Packages.python.sitePackages}/usr
73 # Compile gsettings desktop schemas
74 glib-compile-schemas $out/share/glib-2.0/schemas
77 # See https://nixos.org/nixpkgs/manual/#ssec-gnome-common-issues-double-wrapped
80 makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
81 makeWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ libcanberra-gtk3 ]})
85 description = "Webmail notifications and actions for any desktop";
86 homepage = "https://github.com/AyatanaIndicators/ayatana-webmail";
87 license = lib.licenses.gpl3Plus;
88 platforms = lib.platforms.linux;
89 maintainers = with lib.maintainers; [ doronbehar ];