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