diff options
author | aszlig <aszlig@redmoonstudios.org> | 2015-01-05 08:28:20 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2015-01-05 08:30:44 +0100 |
commit | f1f5a7f6c5099511d7f3c2e8b590d5744f2f8b2e (patch) | |
tree | 6db5f86eac4a9bc777ca5b099705489f2a6543b1 /pkgs/applications | |
parent | a3137802021fce00e9d7e0a38938859104d70a6b (diff) | |
download | nixlib-f1f5a7f6c5099511d7f3c2e8b590d5744f2f8b2e.tar nixlib-f1f5a7f6c5099511d7f3c2e8b590d5744f2f8b2e.tar.gz nixlib-f1f5a7f6c5099511d7f3c2e8b590d5744f2f8b2e.tar.bz2 nixlib-f1f5a7f6c5099511d7f3c2e8b590d5744f2f8b2e.tar.lz nixlib-f1f5a7f6c5099511d7f3c2e8b590d5744f2f8b2e.tar.xz nixlib-f1f5a7f6c5099511d7f3c2e8b590d5744f2f8b2e.tar.zst nixlib-f1f5a7f6c5099511d7f3c2e8b590d5744f2f8b2e.zip |
profanity: Add option for autoAwaySupport.
Actually, two dependencies used for notifySupport are for autoAwaySupport and have nothing to do with notifications, so let's split them apart. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/profanity/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/applications/networking/instant-messengers/profanity/default.nix b/pkgs/applications/networking/instant-messengers/profanity/default.nix index 2d75bf004b00..bd934b6cf737 100644 --- a/pkgs/applications/networking/instant-messengers/profanity/default.nix +++ b/pkgs/applications/networking/instant-messengers/profanity/default.nix @@ -1,12 +1,12 @@ { stdenv, fetchurl, automake, autoconf, pkgconfig, glib, openssl, expat , ncurses, libotr, curl, libstrophe -, notifySupport ? false, libnotify ? null, libXScrnSaver ? null -, libX11 ? null, gdk_pixbuf ? null +, autoAwaySupport ? false, libXScrnSaver ? null, libX11 ? null +, notifySupport ? false, libnotify ? null, gdk_pixbuf ? null }: -assert notifySupport -> libnotify != null && libXScrnSaver != null - && libX11 != null && gdk_pixbuf != null; +assert autoAwaySupport -> libXScrnSaver != null && libX11 != null; +assert notifySupport -> libnotify != null && gdk_pixbuf != null; with stdenv.lib; @@ -22,7 +22,8 @@ stdenv.mkDerivation rec { buildInputs = [ automake autoconf pkgconfig glib openssl expat ncurses libotr curl libstrophe - ] ++ optionals notifySupport [ libnotify libXScrnSaver libX11 gdk_pixbuf ]; + ] ++ optionals autoAwaySupport [ libXScrnSaver libX11 ] + ++ optionals notifySupport [ libnotify gdk_pixbuf ]; preConfigure = "sh bootstrap.sh"; |