mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #26478 from Moredread/profanity_tray
profanity: enable tray icon support
This commit is contained in:
commit
308acf3199
2 changed files with 5 additions and 1 deletions
|
@ -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";
|
||||
|
|
|
@ -15492,6 +15492,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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue