diff options
Diffstat (limited to 'pkgs/applications/networking/mailreaders/neomutt/default.nix')
-rw-r--r-- | pkgs/applications/networking/mailreaders/neomutt/default.nix | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/pkgs/applications/networking/mailreaders/neomutt/default.nix b/pkgs/applications/networking/mailreaders/neomutt/default.nix new file mode 100644 index 00000000000..f4718e1ee74 --- /dev/null +++ b/pkgs/applications/networking/mailreaders/neomutt/default.nix @@ -0,0 +1,51 @@ +{ stdenv, fetchFromGitHub, which, autoconf, automake, ncurses, perl +, cyrus_sasl, gdbm, gpgme, kerberos, libidn, notmuch, openssl }: + +stdenv.mkDerivation rec { + version = "20160416"; + name = "neomutt-${version}"; + + src = fetchFromGitHub { + owner = "neomutt"; + repo = "neomutt"; + rev = "neomutt-${version}"; + sha256 = "1sgc77fyjcf859y896w208fw4rxd0bzhp0c7cp3vacb7lqr07ngb"; + }; + + 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-smtp" + "--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; + maintainers = with maintainers; [ hiberno cstrahan ]; + }; +} |