nixpkgs/pkgs/applications/networking/mailreaders/neomutt/default.nix

54 lines
1.3 KiB
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, which, autoconf, automake, ncurses, perl
, cyrus_sasl, gdbm, gpgme, kerberos, libidn, notmuch, openssl }:
stdenv.mkDerivation rec {
2016-09-13 06:29:57 +01:00
version = "20160910";
name = "neomutt-${version}";
src = fetchFromGitHub {
owner = "neomutt";
repo = "neomutt";
rev = "neomutt-${version}";
2016-09-13 06:29:57 +01:00
sha256 = "1i1idqk9l3njqsiw8n8jgjawcz9n9h5180qvpxfwg7sg9zx2sjhj";
};
buildInputs =
[ autoconf automake cyrus_sasl gdbm gpgme kerberos libidn ncurses
notmuch which openssl perl ];
configureFlags = [
"--enable-debug"
"--enable-gpgme"
"--enable-hcache"
"--enable-imap"
"--enable-notmuch"
"--enable-pgp"
"--enable-pop"
"--enable-sidebar"
"--enable-keywords"
"--enable-smtp"
"--enable-nntp"
"--with-homespool=mailbox"
"--with-gss"
"--with-mailpath="
"--with-ssl"
"--with-sasl"
"--with-curses"
"--with-regex"
"--with-idn"
# 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-03 10:54:54 +00:00
maintainers = with maintainers; [ cstrahan vrthra ];
};
}