nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 43 lines 1.1 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 openssl, 6 python3, 7 pkg-config, 8}: 9 10stdenv.mkDerivation (finalAttrs: { 11 pname = "fetchmail"; 12 version = "6.6.2"; 13 14 src = fetchurl { 15 url = "mirror://sourceforge/fetchmail/fetchmail-${finalAttrs.version}.tar.xz"; 16 hash = "sha256-pRCSlewzGeDkXt0AnS2XcEKoMmq1LGqBeoL6mHED5PM="; 17 }; 18 19 buildInputs = [ 20 openssl 21 python3 22 ]; 23 24 nativeBuildInputs = [ pkg-config ]; 25 26 configureFlags = [ "--with-ssl=${openssl.dev}" ]; 27 28 meta = { 29 homepage = "https://www.fetchmail.info/"; 30 description = "Full-featured remote-mail retrieval and forwarding utility"; 31 longDescription = '' 32 A full-featured, robust, well-documented remote-mail retrieval and 33 forwarding utility intended to be used over on-demand TCP/IP links 34 (such as SLIP or PPP connections). It supports every remote-mail 35 protocol now in use on the Internet: POP2, POP3, RPOP, APOP, KPOP, 36 all flavors of IMAP, ETRN, and ODMR. It can even support IPv6 and 37 IPSEC. 38 ''; 39 platforms = lib.platforms.unix; 40 license = lib.licenses.gpl2Plus; 41 mainProgram = "fetchmail"; 42 }; 43})