diff options
author | André-Patrick Bubel <code@andre-bubel.de> | 2017-06-08 22:42:58 +0200 |
---|---|---|
committer | André-Patrick Bubel <code@andre-bubel.de> | 2017-06-08 22:55:42 +0200 |
commit | 55f0f9e1a4818074c52d6e11e65240fbfdd36890 (patch) | |
tree | e0aaeaa0aadf0ca40204b280a5def88bcb188b21 /pkgs | |
parent | 69901f16c906c79e69939607631944ff5643152b (diff) | |
download | nixlib-55f0f9e1a4818074c52d6e11e65240fbfdd36890.tar nixlib-55f0f9e1a4818074c52d6e11e65240fbfdd36890.tar.gz nixlib-55f0f9e1a4818074c52d6e11e65240fbfdd36890.tar.bz2 nixlib-55f0f9e1a4818074c52d6e11e65240fbfdd36890.tar.lz nixlib-55f0f9e1a4818074c52d6e11e65240fbfdd36890.tar.xz nixlib-55f0f9e1a4818074c52d6e11e65240fbfdd36890.tar.zst nixlib-55f0f9e1a4818074c52d6e11e65240fbfdd36890.zip |
profanity: enable tray icon support
Profanity can show a tray icon, e.g. showing that messages were received. This enables support for the feature.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/profanity/default.nix | 5 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/profanity/default.nix b/pkgs/applications/networking/instant-messengers/profanity/default.nix index 32f4f8f32b36..e1a068393b14 100644 --- a/pkgs/applications/networking/instant-messengers/profanity/default.nix +++ b/pkgs/applications/networking/instant-messengers/profanity/default.nix @@ -3,10 +3,12 @@ , autoAwaySupport ? false, libXScrnSaver ? null, libX11 ? null , notifySupport ? false, libnotify ? null, gdk_pixbuf ? null +, traySupport ? false, gnome2 ? null }: assert autoAwaySupport -> libXScrnSaver != null && libX11 != null; assert notifySupport -> libnotify != null && gdk_pixbuf != null; +assert traySupport -> gnome2 != null; with stdenv.lib; @@ -23,7 +25,8 @@ stdenv.mkDerivation rec { pkgconfig readline libuuid libmesode glib openssl expat ncurses libotr curl ] ++ optionals autoAwaySupport [ libXScrnSaver libX11 ] - ++ optionals notifySupport [ libnotify gdk_pixbuf ]; + ++ optionals notifySupport [ libnotify gdk_pixbuf ] + ++ optionals traySupport [ gnome2.gtk ]; meta = { description = "A console based XMPP client"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4962e3fa4821..9d30f4c5a3e8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15482,6 +15482,7 @@ with pkgs; profanity = callPackage ../applications/networking/instant-messengers/profanity { notifySupport = config.profanity.notifySupport or true; + traySupport = config.profanity.traySupport or true; autoAwaySupport = config.profanity.autoAwaySupport or true; }; |