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:
parent
49363a40ba
commit
00eeae1179
1 changed files with 3 additions and 1 deletions
|
@ -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" \
|
||||
|
|
Loading…
Reference in a new issue