about summary refs log tree commit diff
path: root/pkgs/applications/networking/mailreaders/mutt/default.nix
diff options
context:
space:
mode:
authorAndres Löh <mail@andres-loeh.de>2008-05-13 19:21:09 +0000
committerAndres Löh <mail@andres-loeh.de>2008-05-13 19:21:09 +0000
commitd54af5914808dbca8141581bf569136de1e8faf2 (patch)
treebda6655580558d8b3af4a17e1f88caa35673d66f /pkgs/applications/networking/mailreaders/mutt/default.nix
parent29fb522f0a6d2c1a4a2cda41eef21393ae2df1b6 (diff)
downloadnixlib-d54af5914808dbca8141581bf569136de1e8faf2.tar
nixlib-d54af5914808dbca8141581bf569136de1e8faf2.tar.gz
nixlib-d54af5914808dbca8141581bf569136de1e8faf2.tar.bz2
nixlib-d54af5914808dbca8141581bf569136de1e8faf2.tar.lz
nixlib-d54af5914808dbca8141581bf569136de1e8faf2.tar.xz
nixlib-d54af5914808dbca8141581bf569136de1e8faf2.tar.zst
nixlib-d54af5914808dbca8141581bf569136de1e8faf2.zip
* enabled header cache support for mutt
svn path=/nixpkgs/trunk/; revision=11822
Diffstat (limited to 'pkgs/applications/networking/mailreaders/mutt/default.nix')
-rw-r--r--pkgs/applications/networking/mailreaders/mutt/default.nix12
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgs/applications/networking/mailreaders/mutt/default.nix b/pkgs/applications/networking/mailreaders/mutt/default.nix
index c3b4fe54d023..1191441d1b2a 100644
--- a/pkgs/applications/networking/mailreaders/mutt/default.nix
+++ b/pkgs/applications/networking/mailreaders/mutt/default.nix
@@ -1,23 +1,28 @@
 { stdenv, fetchurl, ncurses, which
 , sslSupport ? true
 , imapSupport ? true
+, headerCache ? true
+, gdbm ? null
 , openssl ? null
 }:
 
+assert headerCache -> gdbm != null;
 assert sslSupport -> openssl != null;
 
 stdenv.mkDerivation {
-  name = "mutt-1.5.15";
+  name = "mutt-1.5.16";
   src = fetchurl {
-    url = ftp://ftp.mutt.org/mutt/devel/mutt-1.5.15.tar.gz;
-    sha256 = "03fa1f45d4743cd395b634d19aebbc2c1918cf6b683e0af51076ccc79f643a9a";
+    url = ftp://ftp.mutt.org/mutt/devel/mutt-1.5.16.tar.gz;
+    sha256 = "825e920b394db6f56fa8deb45977c061331f59d953944e27ff595625bbad3e83";
   };
   buildInputs = [
     ncurses which
+    (if headerCache then gdbm else null)
     (if sslSupport then openssl else null)
   ];
   configureFlags = [
     "--with-mailpath="
+    (if headerCache then "--enable-hcache" else "--disable-hcache")
     (if sslSupport then "--with-ssl" else "--without-ssl")
     (if imapSupport then "--enable-imap" else "--disable-imap")
   ];
@@ -26,3 +31,4 @@ stdenv.mkDerivation {
     homepage = http://www.mutt.org;
   };
 }
+