3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/mailreaders/neomutt/default.nix

57 lines
1.4 KiB
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, which, autoconf, automake, ncurses, perl
2016-12-30 02:59:33 +00:00
, cyrus_sasl, gdbm, gpgme, kerberos, libidn, notmuch, openssl, lmdb }:
stdenv.mkDerivation rec {
2017-03-11 14:39:05 +00:00
version = "20170306";
name = "neomutt-${version}";
src = fetchFromGitHub {
owner = "neomutt";
repo = "neomutt";
rev = "neomutt-${version}";
2017-03-11 14:39:05 +00:00
sha256 = "0nlazabwj4czi30m84ppga275hkr51glyndizqzg540q9wp1acz4";
};
2017-01-29 16:17:22 +00:00
nativeBuildInputs = [ which autoconf automake ];
buildInputs =
2017-01-29 16:17:22 +00:00
[ cyrus_sasl gdbm gpgme kerberos libidn ncurses
notmuch openssl perl lmdb ];
configureFlags = [
"--enable-debug"
"--enable-gpgme"
"--enable-hcache"
"--enable-imap"
"--enable-notmuch"
"--enable-pgp"
"--enable-pop"
"--enable-sidebar"
"--enable-keywords"
"--enable-smtp"
"--enable-nntp"
2017-01-29 16:17:22 +00:00
"--enable-compressed"
"--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"
# 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 ];
};
}