1{ stdenv, fetchurl, openssl }:
2
3let
4 version = "6.3.26";
5in
6stdenv.mkDerivation {
7 name="fetchmail-${version}";
8
9 src = fetchurl {
10 url = "mirror://sourceforge/fetchmail.berlios/fetchmail-${version}.tar.bz2";
11 sha256 = "08rafrs1dlr11myr0p99kg4k80qyy0fa63gg3ac88zn49174lwhw";
12 };
13
14 buildInputs = [ openssl ];
15
16 configureFlags = "--with-ssl=${openssl}";
17
18 meta = {
19 homepage = "http://www.fetchmail.info/";
20 description = "a full-featured remote-mail retrieval and forwarding utility";
21 longDescription = ''
22 A full-featured, robust, well-documented remote-mail retrieval and
23 forwarding utility intended to be used over on-demand TCP/IP links
24 (such as SLIP or PPP connections). It supports every remote-mail
25 protocol now in use on the Internet: POP2, POP3, RPOP, APOP, KPOP,
26 all flavors of IMAP, ETRN, and ODMR. It can even support IPv6 and
27 IPSEC.
28 '';
29
30 platforms = stdenv.lib.platforms.unix;
31 maintainers = [ stdenv.lib.maintainers.simons ];
32 };
33}