nixpkgs/pkgs/applications/misc/fetchmail/default.nix

31 lines
986 B
Nix
Raw Normal View History

2021-01-15 05:42:41 +00:00
{ lib, stdenv, fetchurl, openssl }:
2021-08-10 08:48:12 +00:00
stdenv.mkDerivation rec {
2019-08-13 21:52:01 +00:00
pname = "fetchmail";
2021-12-31 07:56:35 +00:00
version = "6.4.25";
src = fetchurl {
url = "mirror://sourceforge/fetchmail/fetchmail-${version}.tar.xz";
2021-12-31 07:56:35 +00:00
sha256 = "sha256-fr776JFy/Vnw/YMX2HQ6hDbzdczcqzkA5MPsBqj78n8=";
};
buildInputs = [ openssl ];
2018-07-25 21:44:21 +00:00
configureFlags = [ "--with-ssl=${openssl.dev}" ];
2021-08-10 08:48:12 +00:00
meta = with lib; {
2020-04-09 15:09:08 +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 08:48:12 +00:00
platforms = platforms.unix;
license = licenses.gpl2Plus;
};
}