1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/tools/networking/mailutils/default.nix

59 lines
2.1 KiB
Nix
Raw Normal View History

{ fetchurl, stdenv, gettext, gdbm, libtool, pam, readline
2014-08-15 20:16:33 +01:00
, ncurses, gnutls, mysql, guile, texinfo, gnum4, dejagnu, sendmailPath ? "/var/setuid-wrappers/sendmail" }:
/* TODO: Add GNU SASL, GNU GSSAPI, and FreeBidi. */
stdenv.mkDerivation rec {
name = "mailutils-2.2";
src = fetchurl {
url = "mirror://gnu/mailutils/${name}.tar.bz2";
sha256 = "0szbqa12zqzldqyw97lxqax3ja2adis83i7brdfsxmrfw68iaf65";
};
patches = [ ./path-to-cat.patch ./no-gets.patch ];
2014-08-15 20:16:33 +01:00
configureFlags = "--with-path-sendmail=${sendmailPath}";
buildInputs =
[ gettext gdbm libtool pam readline ncurses
gnutls mysql guile texinfo gnum4 ]
++ stdenv.lib.optional doCheck dejagnu;
2014-06-04 15:18:04 +01:00
# Tests fail since gcc 4.8
doCheck = false;
meta = {
description = "GNU Mailutils is a rich and powerful protocol-independent mail framework";
longDescription = ''
GNU Mailutils is a rich and powerful protocol-independent mail
framework. It contains a series of useful mail libraries, clients, and
servers. These are the primary mail utilities for the GNU system. The
central library is capable of handling electronic mail in various
mailbox formats and protocols, both local and remote. Specifically,
this project contains a POP3 server, an IMAP4 server, and a Sieve mail
filter. It also provides a POSIX `mailx' client, and a collection of
other handy tools.
The GNU Mailutils libraries supply an ample set of primitives for
handling electronic mail in programs written in C, C++, Python or
Scheme.
The utilities provided by Mailutils include imap4d and pop3d mail
servers, mail reporting utility comsatd, general-purpose mail delivery
agent maidag, mail filtering program sieve, and an implementation of MH
message handling system.
'';
2014-01-24 15:27:36 +00:00
license = [ "LGPLv3+" /* libraries */ "GPLv3+" /* tools */ ];
maintainers = [ stdenv.lib.maintainers.ludo ];
homepage = http://www.gnu.org/software/mailutils/;
# Some of the dependencies fail to build on {cyg,dar}win.
platforms = stdenv.lib.platforms.gnu;
};
}