2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, openssl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-10 14:31:46 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "fetchmail";
|
2022-02-20 05:27:41 +00:00
|
|
|
version = "6.4.27";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/fetchmail/fetchmail-${version}.tar.xz";
|
2022-02-20 05:27:41 +00:00
|
|
|
sha256 = "sha256-nmT55x95jPH+Ini4Ti9YgLgGUnwMAgaSXAhszReRE9w=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
|
|
|
configureFlags = [ "--with-ssl=${openssl.dev}" ];
|
|
|
|
|
2021-08-10 14:31:46 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.fetchmail.info/";
|
|
|
|
description = "A full-featured remote-mail retrieval and forwarding utility";
|
|
|
|
longDescription = ''
|
|
|
|
A full-featured, robust, well-documented remote-mail retrieval and
|
|
|
|
forwarding utility intended to be used over on-demand TCP/IP links
|
|
|
|
(such as SLIP or PPP connections). It supports every remote-mail
|
|
|
|
protocol now in use on the Internet: POP2, POP3, RPOP, APOP, KPOP,
|
|
|
|
all flavors of IMAP, ETRN, and ODMR. It can even support IPv6 and
|
|
|
|
IPSEC.
|
|
|
|
'';
|
2021-08-10 14:31:46 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|