Adding sasl support to mutt, so ssmtp sending works

svn path=/nixpkgs/trunk/; revision=21038
This commit is contained in:
Lluís Batlle i Rossell 2010-04-12 22:21:01 +00:00
parent 165bc84831
commit ec8f2bdc1b
2 changed files with 6 additions and 1 deletions

View File

@ -2,12 +2,15 @@
, sslSupport ? true
, imapSupport ? true
, headerCache ? true
, saslSupport ? true
, gdbm ? null
, openssl ? null
, cyrus_sasl ? null
}:
assert headerCache -> gdbm != null;
assert sslSupport -> openssl != null;
assert saslSupport -> cyrus_sasl != null;
stdenv.mkDerivation {
name = "mutt-1.5.20";
@ -19,6 +22,7 @@ stdenv.mkDerivation {
ncurses which perl
(if headerCache then gdbm else null)
(if sslSupport then openssl else null)
(if saslSupport then cyrus_sasl else null)
];
configureFlags = [
"--with-mailpath=" "--enable-smtp"
@ -29,6 +33,7 @@ stdenv.mkDerivation {
(if headerCache then "--enable-hcache" else "--disable-hcache")
(if sslSupport then "--with-ssl" else "--without-ssl")
(if imapSupport then "--enable-imap" else "--disable-imap")
(if saslSupport then "--with-sasl" else "--without-imap")
];
meta = {

View File

@ -7798,7 +7798,7 @@ let
};
mutt = import ../applications/networking/mailreaders/mutt {
inherit fetchurl stdenv ncurses which openssl gdbm perl;
inherit fetchurl stdenv ncurses which openssl gdbm perl cyrus_sasl;
};
msmtp = import ../applications/networking/msmtp {