profanity: enable pgp support

This commit is contained in:
André-Patrick Bubel 2017-10-12 21:28:21 +02:00
parent eb31aec16e
commit 07e81b66f2
No known key found for this signature in database
GPG Key ID: 118CE7C424B45728
1 changed files with 4 additions and 1 deletions

View File

@ -4,11 +4,13 @@
, autoAwaySupport ? false, libXScrnSaver ? null, libX11 ? null , autoAwaySupport ? false, libXScrnSaver ? null, libX11 ? null
, notifySupport ? false, libnotify ? null, gdk_pixbuf ? null , notifySupport ? false, libnotify ? null, gdk_pixbuf ? null
, traySupport ? false, gnome2 ? null , traySupport ? false, gnome2 ? null
, pgpSupport ? true, gpgme ? null
}: }:
assert autoAwaySupport -> libXScrnSaver != null && libX11 != null; assert autoAwaySupport -> libXScrnSaver != null && libX11 != null;
assert notifySupport -> libnotify != null && gdk_pixbuf != null; assert notifySupport -> libnotify != null && gdk_pixbuf != null;
assert traySupport -> gnome2 != null; assert traySupport -> gnome2 != null;
assert pgpSupport -> gpgme != null;
with stdenv.lib; with stdenv.lib;
@ -30,7 +32,8 @@ stdenv.mkDerivation rec {
glib openssl expat ncurses libotr curl glib openssl expat ncurses libotr curl
] ++ optionals autoAwaySupport [ libXScrnSaver libX11 ] ] ++ optionals autoAwaySupport [ libXScrnSaver libX11 ]
++ optionals notifySupport [ libnotify gdk_pixbuf ] ++ optionals notifySupport [ libnotify gdk_pixbuf ]
++ optionals traySupport [ gnome2.gtk ]; ++ optionals traySupport [ gnome2.gtk ]
++ optionals pgpSupport [ gpgme ];
meta = { meta = {
description = "A console based XMPP client"; description = "A console based XMPP client";