mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
gajim: Optional support for notifications.
Actually, Gajim can use notifications through dbus if notification-daemon is available. Otherwise it falls back to notify-python, which is why I disabled it by default, especially because upstream support of that Python library isn't especially awesome ;-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
f4174f7df6
commit
2ad7c40a66
@ -6,6 +6,7 @@
|
||||
, enableE2E ? true
|
||||
, enableRST ? true
|
||||
, enableSpelling ? true, gtkspell ? null
|
||||
, enableNotifications ? false
|
||||
, enableLaTeX ? false, texLive ? null
|
||||
}:
|
||||
|
||||
@ -14,6 +15,7 @@ assert enableJingle -> farstream != null && gst_plugins_bad != null
|
||||
assert enableE2E -> pythonPackages.pycrypto != null;
|
||||
assert enableRST -> pythonPackages.docutils != null;
|
||||
assert enableSpelling -> gtkspell != null;
|
||||
assert enableNotifications -> pythonPackages.notify != null;
|
||||
assert enableLaTeX -> texLive != null;
|
||||
|
||||
with stdenv.lib;
|
||||
@ -71,6 +73,7 @@ stdenv.mkDerivation rec {
|
||||
] ++ optionals enableJingle [ farstream gst_plugins_bad libnice ]
|
||||
++ optional enableE2E pythonPackages.pycrypto
|
||||
++ optional enableRST pythonPackages.docutils
|
||||
++ optional enableNotifications pythonPackages.notify
|
||||
++ optional enableLaTeX texLive;
|
||||
|
||||
postInstall = ''
|
||||
|
Loading…
Reference in New Issue
Block a user