diff options
author | André-Patrick Bubel <code@andre-bubel.de> | 2017-10-12 22:08:20 +0200 |
---|---|---|
committer | André-Patrick Bubel <code@andre-bubel.de> | 2017-10-19 05:10:19 +0200 |
commit | 7a82f81b84dd5e98a43719e5ee8576d65e2f7cfb (patch) | |
tree | a212baa4c203ea895b5152249bd038427379d78d /pkgs/applications/networking | |
parent | 07e81b66f228d6d2d4ff059c6ba85a0202d31058 (diff) |
profanity: enable support for python plugins
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/profanity/default.nix | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/pkgs/applications/networking/instant-messengers/profanity/default.nix b/pkgs/applications/networking/instant-messengers/profanity/default.nix index e994a9849c81d..6c57624d28e21 100644 --- a/pkgs/applications/networking/instant-messengers/profanity/default.nix +++ b/pkgs/applications/networking/instant-messengers/profanity/default.nix @@ -1,16 +1,18 @@ { stdenv, fetchurl, pkgconfig, glib, openssl, expat, libmesode , ncurses, libotr, curl, readline, libuuid -, autoAwaySupport ? false, libXScrnSaver ? null, libX11 ? null -, notifySupport ? false, libnotify ? null, gdk_pixbuf ? null -, traySupport ? false, gnome2 ? null -, pgpSupport ? true, gpgme ? null +, autoAwaySupport ? false, libXScrnSaver ? null, libX11 ? null +, notifySupport ? false, libnotify ? null, gdk_pixbuf ? null +, traySupport ? false, gnome2 ? null +, pgpSupport ? true, gpgme ? null +, pythonPluginSupport ? true, python ? null }: -assert autoAwaySupport -> libXScrnSaver != null && libX11 != null; -assert notifySupport -> libnotify != null && gdk_pixbuf != null; -assert traySupport -> gnome2 != null; -assert pgpSupport -> gpgme != null; +assert autoAwaySupport -> libXScrnSaver != null && libX11 != null; +assert notifySupport -> libnotify != null && gdk_pixbuf != null; +assert traySupport -> gnome2 != null; +assert pgpSupport -> gpgme != null; +assert pythonPluginSupport -> python != null; with stdenv.lib; @@ -30,10 +32,11 @@ stdenv.mkDerivation rec { buildInputs = [ readline libuuid libmesode glib openssl expat ncurses libotr curl - ] ++ optionals autoAwaySupport [ libXScrnSaver libX11 ] - ++ optionals notifySupport [ libnotify gdk_pixbuf ] - ++ optionals traySupport [ gnome2.gtk ] - ++ optionals pgpSupport [ gpgme ]; + ] ++ optionals autoAwaySupport [ libXScrnSaver libX11 ] + ++ optionals notifySupport [ libnotify gdk_pixbuf ] + ++ optionals traySupport [ gnome2.gtk ] + ++ optionals pgpSupport [ gpgme ] + ++ optionals pythonPluginSupport [ python ]; meta = { description = "A console based XMPP client"; |