2017-05-07 02:39:08 +00:00
|
|
|
{ stdenv, fetchFromGitHub, which, autoreconfHook, ncurses, perl
|
2016-12-30 02:59:33 +00:00
|
|
|
, cyrus_sasl, gdbm, gpgme, kerberos, libidn, notmuch, openssl, lmdb }:
|
2016-04-15 21:01:05 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-05-07 02:39:08 +00:00
|
|
|
version = "20170428";
|
2016-04-15 21:01:05 +00:00
|
|
|
name = "neomutt-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-05-07 02:39:08 +00:00
|
|
|
owner = "neomutt";
|
|
|
|
repo = "neomutt";
|
|
|
|
rev = "neomutt-${version}";
|
|
|
|
sha256 = "1p6214agfv9plskkzalh03r5naiiyg1habrnknnjgck3nypb78ik";
|
2016-04-15 21:01:05 +00:00
|
|
|
};
|
|
|
|
|
2017-05-07 02:39:08 +00:00
|
|
|
nativeBuildInputs = [ which autoreconfHook ];
|
2016-04-15 21:01:05 +00:00
|
|
|
buildInputs =
|
2017-01-29 16:17:22 +00:00
|
|
|
[ cyrus_sasl gdbm gpgme kerberos libidn ncurses
|
|
|
|
notmuch openssl perl lmdb ];
|
2016-04-15 21:01:05 +00:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-debug"
|
|
|
|
"--enable-gpgme"
|
|
|
|
"--enable-hcache"
|
|
|
|
"--enable-imap"
|
|
|
|
"--enable-notmuch"
|
|
|
|
"--enable-pgp"
|
|
|
|
"--enable-pop"
|
|
|
|
"--enable-sidebar"
|
2016-06-10 20:40:02 +00:00
|
|
|
"--enable-keywords"
|
2016-04-15 21:01:05 +00:00
|
|
|
"--enable-smtp"
|
2016-06-10 20:40:02 +00:00
|
|
|
"--enable-nntp"
|
2017-01-29 16:17:22 +00:00
|
|
|
"--enable-compressed"
|
2016-04-15 21:01:05 +00:00
|
|
|
"--with-homespool=mailbox"
|
|
|
|
"--with-gss"
|
|
|
|
"--with-mailpath="
|
|
|
|
"--with-ssl"
|
|
|
|
"--with-sasl"
|
|
|
|
"--with-curses"
|
|
|
|
"--with-regex"
|
|
|
|
"--with-idn"
|
2016-12-30 02:59:33 +00:00
|
|
|
"--with-lmdb"
|
2016-04-15 21:01:05 +00:00
|
|
|
|
|
|
|
# Look in $PATH at runtime, instead of hardcoding /usr/bin/sendmail
|
|
|
|
"ac_cv_path_SENDMAIL=sendmail"
|
|
|
|
];
|
|
|
|
|
|
|
|
configureScript = "./prepare";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A small but very powerful text-based mail client";
|
|
|
|
homepage = http://www.neomutt.org;
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
2016-11-07 05:56:15 +00:00
|
|
|
maintainers = with maintainers; [ cstrahan vrthra erikryb ];
|
2016-04-15 21:01:05 +00:00
|
|
|
};
|
|
|
|
}
|