From d0d880f63067deae868ea1b8fa353883fb671b30 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sun, 4 Jan 2015 17:55:41 +0100 Subject: [PATCH] mcabber: Build with support for GPG. Originally I had in mind to introduce an attribute like "enableGPG", but it seems that other distro include it per default, so I guess most users coming from other distros would expect it that way. And so it is now. Signed-off-by: aszlig --- .../networking/instant-messengers/mcabber/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/mcabber/default.nix b/pkgs/applications/networking/instant-messengers/mcabber/default.nix index 4fda2d9cc066..6c7e47978414 100644 --- a/pkgs/applications/networking/instant-messengers/mcabber/default.nix +++ b/pkgs/applications/networking/instant-messengers/mcabber/default.nix @@ -1,4 +1,6 @@ -{stdenv, fetchurl, openssl, ncurses, pkgconfig, glib, loudmouth, libotr}: +{ stdenv, fetchurl, openssl, ncurses, pkgconfig, glib, loudmouth, libotr +, gpgme +}: stdenv.mkDerivation rec { name = "mcabber-${version}"; @@ -9,7 +11,7 @@ stdenv.mkDerivation rec { sha256 = "0vgsqw6yn0lzzcnr4fql4ycgf3gwqj6w4p0l4nqnvhkc94w62ikp"; }; - buildInputs = [openssl ncurses pkgconfig glib loudmouth libotr]; + buildInputs = [ openssl ncurses pkgconfig glib loudmouth libotr gpgme ]; configureFlags = "--with-openssl=${openssl} --enable-modules --enable-otr";