|
|
|
@ -4,7 +4,7 @@ |
|
|
|
|
|
|
|
|
|
, autoAwaySupport ? true, libXScrnSaver ? null, libX11 ? null |
|
|
|
|
, notifySupport ? true, libnotify ? null, gdk-pixbuf ? null |
|
|
|
|
, traySupport ? true, gnome2 ? null |
|
|
|
|
, traySupport ? true, gtk2 ? null |
|
|
|
|
, pgpSupport ? true, gpgme ? null |
|
|
|
|
, pythonPluginSupport ? true, python ? null |
|
|
|
|
, omemoSupport ? true, libsignal-protocol-c ? null, libgcrypt ? null |
|
|
|
@ -12,7 +12,7 @@ |
|
|
|
|
|
|
|
|
|
assert autoAwaySupport -> libXScrnSaver != null && libX11 != null; |
|
|
|
|
assert notifySupport -> libnotify != null && gdk-pixbuf != null; |
|
|
|
|
assert traySupport -> gnome2 != null; |
|
|
|
|
assert traySupport -> gtk2 != null; |
|
|
|
|
assert pgpSupport -> gpgme != null; |
|
|
|
|
assert pythonPluginSupport -> python != null; |
|
|
|
|
assert omemoSupport -> libsignal-protocol-c != null && libgcrypt != null; |
|
|
|
@ -45,7 +45,7 @@ stdenv.mkDerivation rec { |
|
|
|
|
curl libmesode cmocka libmicrohttpd sqlite |
|
|
|
|
] ++ optionals autoAwaySupport [ libXScrnSaver libX11 ] |
|
|
|
|
++ optionals notifySupport [ libnotify gdk-pixbuf ] |
|
|
|
|
++ optionals traySupport [ gnome2.gtk ] |
|
|
|
|
++ optionals traySupport [ gtk2 ] |
|
|
|
|
++ optionals pgpSupport [ gpgme ] |
|
|
|
|
++ optionals pythonPluginSupport [ python ] |
|
|
|
|
++ optionals omemoSupport [ libsignal-protocol-c libgcrypt ]; |
|
|
|
|