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/applications/networking/instant-messengers/profanity | |
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/applications/networking/instant-messengers/profanity')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/profanity/default.nix | 5 |
1 files changed, 4 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"; |