diff options
author | André-Patrick Bubel <code@andre-bubel.de> | 2017-10-12 21:28:21 +0200 |
---|---|---|
committer | André-Patrick Bubel <code@andre-bubel.de> | 2017-10-19 05:07:01 +0200 |
commit | 07e81b66f228d6d2d4ff059c6ba85a0202d31058 (patch) | |
tree | 88cfc530f409a5312124b7127b1e5887f7e3a981 /pkgs/applications/networking/instant-messengers/profanity | |
parent | eb31aec16e77798619ebf7b515c4fd26da28ec9d (diff) |
profanity: enable pgp support
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/profanity')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/profanity/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/profanity/default.nix b/pkgs/applications/networking/instant-messengers/profanity/default.nix index b8cd292b6cae5..e994a9849c81d 100644 --- a/pkgs/applications/networking/instant-messengers/profanity/default.nix +++ b/pkgs/applications/networking/instant-messengers/profanity/default.nix @@ -4,11 +4,13 @@ , autoAwaySupport ? false, libXScrnSaver ? null, libX11 ? null , notifySupport ? false, libnotify ? null, gdk_pixbuf ? null , traySupport ? false, gnome2 ? null +, pgpSupport ? true, gpgme ? null }: assert autoAwaySupport -> libXScrnSaver != null && libX11 != null; assert notifySupport -> libnotify != null && gdk_pixbuf != null; assert traySupport -> gnome2 != null; +assert pgpSupport -> gpgme != null; with stdenv.lib; @@ -30,7 +32,8 @@ stdenv.mkDerivation rec { glib openssl expat ncurses libotr curl ] ++ optionals autoAwaySupport [ libXScrnSaver libX11 ] ++ optionals notifySupport [ libnotify gdk_pixbuf ] - ++ optionals traySupport [ gnome2.gtk ]; + ++ optionals traySupport [ gnome2.gtk ] + ++ optionals pgpSupport [ gpgme ]; meta = { description = "A console based XMPP client"; |