nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 37 lines 1.2 kB view raw
1{ lib, stdenv, pkgs }: 2 3stdenv.mkDerivation { 4 pname = "fetchmail"; 5 version = "unstable-2022-05-26"; 6 7 src = pkgs.fetchFromGitLab { 8 owner = "fetchmail"; 9 repo = "fetchmail"; 10 rev = "30b368fb8660d8fec08be1cdf2606c160b4bcb80"; 11 sha256 = "sha256-83D2YlFCODK2YD+oLICdim2NtNkkJU67S3YLi8Q6ga8="; 12 }; 13 14 buildInputs = with pkgs; [ openssl python3 ]; 15 nativeBuildInputs = with pkgs; [ autoreconfHook pkg-config bison flex ]; 16 17 configureFlags = [ "--with-ssl=${pkgs.openssl.dev}" ]; 18 19 postInstall = '' 20 cp -a contrib/. $out/share/fetchmail-contrib 21 ''; 22 23 meta = with lib; { 24 homepage = "https://www.fetchmail.info/"; 25 description = "A full-featured remote-mail retrieval and forwarding utility"; 26 longDescription = '' 27 A full-featured, robust, well-documented remote-mail retrieval and 28 forwarding utility intended to be used over on-demand TCP/IP links 29 (such as SLIP or PPP connections). It supports every remote-mail 30 protocol now in use on the Internet: POP2, POP3, RPOP, APOP, KPOP, 31 all flavors of IMAP, ETRN, and ODMR. It can even support IPv6 and 32 IPSEC. 33 ''; 34 platforms = platforms.unix; 35 license = licenses.gpl2Plus; 36 }; 37}