gajim: add extraPythonPackages option

For exampole, this allows to add python-axolotl to PYTHONPATH,
which is needed for OMEMO OTR messaging plugin.
This commit is contained in:
Nikolay Amiantov 2016-01-17 21:17:47 +03:00
parent 49363a40ba
commit 00eeae1179

View file

@ -7,6 +7,7 @@
, enableRST ? true
, enableSpelling ? true, gtkspell ? null
, enableNotifications ? false
, extraPythonPackages ? pkgs: []
}:
assert enableJingle -> farstream != null && gst_plugins_bad != null
@ -61,7 +62,8 @@ stdenv.mkDerivation rec {
] ++ optionals enableJingle [ farstream gst_plugins_bad libnice ]
++ optional enableE2E pythonPackages.pycrypto
++ optional enableRST pythonPackages.docutils
++ optional enableNotifications pythonPackages.notify;
++ optional enableNotifications pythonPackages.notify
++ extraPythonPackages pythonPackages;
postInstall = ''
install -m 644 -t "$out/share/gajim/icons/hicolor" \