nixpkgs/pkgs/tools/networking/mailutils/default.nix
Bjørn Forsman c9baba9212 Fix many package descriptions
(My OCD kicked in today...)

Remove repeated package names, capitalize first word, remove trailing
periods and move overlong descriptions to longDescription.

I also simplified some descriptions as well, when they were particularly
long or technical, often based on Arch Linux' package descriptions.

I've tried to stay away from generated expressions (and I think I
succeeded).

Some specifics worth mentioning:
 * cron, has "Vixie Cron" in its description. The "Vixie" part is not
   mentioned anywhere else. I kept it in a parenthesis at the end of the
   description.

 * ctags description started with "Exuberant Ctags ...", and the
   "exuberant" part is not mentioned elsewhere. Kept it in a parenthesis
   at the end of description.

 * nix has the description "The Nix Deployment System". Since that
   doesn't really say much what it is/does (especially after removing
   the package name!), I changed that to "Powerful package manager that
   makes package management reliable and reproducible" (borrowed from
   nixos.org).

 * Tons of "GNU Foo, Foo is a [the important bits]" descriptions
   is changed to just [the important bits]. If the package name doesn't
   contain GNU I don't think it's needed to say it in the description
   either.
2014-08-24 22:31:37 +02:00

58 lines
2.1 KiB
Nix
Executable file

{ fetchurl, stdenv, gettext, gdbm, libtool, pam, readline
, 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 ];
configureFlags = "--with-path-sendmail=${sendmailPath}";
buildInputs =
[ gettext gdbm libtool pam readline ncurses
gnutls mysql guile texinfo gnum4 ]
++ stdenv.lib.optional doCheck dejagnu;
# Tests fail since gcc 4.8
doCheck = false;
meta = {
description = "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.
'';
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;
};
}