profanity: enable support for python plugins
This commit is contained in:
parent
07e81b66f2
commit
7a82f81b84
@ -1,16 +1,18 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, glib, openssl, expat, libmesode
|
{ stdenv, fetchurl, pkgconfig, glib, openssl, expat, libmesode
|
||||||
, ncurses, libotr, curl, readline, libuuid
|
, ncurses, libotr, curl, readline, libuuid
|
||||||
|
|
||||||
, 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
|
, pgpSupport ? true, gpgme ? null
|
||||||
|
, pythonPluginSupport ? true, python ? 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;
|
assert pgpSupport -> gpgme != null;
|
||||||
|
assert pythonPluginSupport -> python != null;
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
@ -30,10 +32,11 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
readline libuuid libmesode
|
readline libuuid libmesode
|
||||||
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 ];
|
++ optionals pgpSupport [ gpgme ]
|
||||||
|
++ optionals pythonPluginSupport [ python ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A console based XMPP client";
|
description = "A console based XMPP client";
|
||||||
|
@ -16084,6 +16084,7 @@ with pkgs;
|
|||||||
notifySupport = config.profanity.notifySupport or true;
|
notifySupport = config.profanity.notifySupport or true;
|
||||||
traySupport = config.profanity.traySupport or true;
|
traySupport = config.profanity.traySupport or true;
|
||||||
autoAwaySupport = config.profanity.autoAwaySupport or true;
|
autoAwaySupport = config.profanity.autoAwaySupport or true;
|
||||||
|
python = python3;
|
||||||
};
|
};
|
||||||
|
|
||||||
psi = kde4.callPackage ../applications/networking/instant-messengers/psi { };
|
psi = kde4.callPackage ../applications/networking/instant-messengers/psi { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user