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
|
, enableE2E ? true
|
||||||
, enableRST ? true
|
, enableRST ? true
|
||||||
, enableSpelling ? true, gtkspell ? null
|
, enableSpelling ? true, gtkspell ? null
|
||||||
|
, enableNotifications ? false
|
||||||
, enableLaTeX ? false, texLive ? null
|
, enableLaTeX ? false, texLive ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -14,6 +15,7 @@ assert enableJingle -> farstream != null && gst_plugins_bad != null
|
|||||||
assert enableE2E -> pythonPackages.pycrypto != null;
|
assert enableE2E -> pythonPackages.pycrypto != null;
|
||||||
assert enableRST -> pythonPackages.docutils != null;
|
assert enableRST -> pythonPackages.docutils != null;
|
||||||
assert enableSpelling -> gtkspell != null;
|
assert enableSpelling -> gtkspell != null;
|
||||||
|
assert enableNotifications -> pythonPackages.notify != null;
|
||||||
assert enableLaTeX -> texLive != null;
|
assert enableLaTeX -> texLive != null;
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
@ -71,6 +73,7 @@ stdenv.mkDerivation rec {
|
|||||||
] ++ optionals enableJingle [ farstream gst_plugins_bad libnice ]
|
] ++ optionals enableJingle [ farstream gst_plugins_bad libnice ]
|
||||||
++ optional enableE2E pythonPackages.pycrypto
|
++ optional enableE2E pythonPackages.pycrypto
|
||||||
++ optional enableRST pythonPackages.docutils
|
++ optional enableRST pythonPackages.docutils
|
||||||
|
++ optional enableNotifications pythonPackages.notify
|
||||||
++ optional enableLaTeX texLive;
|
++ optional enableLaTeX texLive;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user