2022-10-21 18:38:19 +00:00
|
|
|
{ lib, stdenv, fetchurl, openssl, python3 }:
|
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";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "6.4.38";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/fetchmail/fetchmail-${version}.tar.xz";
|
2024-04-21 15:54:59 +00:00
|
|
|
sha256 = "sha256-pstOqGOsYdJC/7LbVko5EjdhV40+QNcc57bykFvmCdk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
buildInputs = [ openssl python3 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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/";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Full-featured remote-mail retrieval and forwarding utility";
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
2024-06-05 15:53:02 +00:00
|
|
|
mainProgram = "fetchmail";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|