nixpkgs/pkgs/applications/networking/mailreaders/mutt/default.nix
Yury G. Kudryashov 98a81beaac meta.homepage added to several packages
svn path=/nixpkgs/branches/stdenv-updates/; revision=10431
2008-01-31 10:41:45 +00:00

29 lines
658 B
Nix

{ stdenv, fetchurl, ncurses, which
, sslSupport ? true
, imapSupport ? true
, openssl ? null
}:
assert sslSupport -> openssl != null;
stdenv.mkDerivation {
name = "mutt-1.5.15";
src = fetchurl {
url = ftp://ftp.mutt.org/mutt/devel/mutt-1.5.15.tar.gz;
sha256 = "03fa1f45d4743cd395b634d19aebbc2c1918cf6b683e0af51076ccc79f643a9a";
};
buildInputs = [
ncurses which
(if sslSupport then openssl else null)
];
configureFlags = [
"--with-mailpath="
(if sslSupport then "--with-ssl" else "--without-ssl")
(if imapSupport then "--enable-imap" else "--disable-imap")
];
meta = {
homepage = http://www.mutt.org;
};
}