1 { lib, stdenv, fetchurl, openssl, libxcrypt }:
3 stdenv.mkDerivation rec {
8 url = "http://www.openwall.com/popa3d/${pname}-${version}.tar.gz";
9 sha256 = "1g48cd74sqhl496wmljhq44iyfpghaz363a1ip8nyhpjz7d57f03";
12 buildInputs = [ openssl libxcrypt ];
15 ./fix-mail-spool-path.patch
17 ./use-glibc-crypt.patch
18 ./enable-standalone-mode.patch
21 configurePhase = ''makeFlags="PREFIX=$out MANDIR=$out/share/man"'';
24 homepage = "http://www.openwall.com/popa3d/";
25 description = "Tiny POP3 daemon with security as the primary goal";
26 mainProgram = "popa3d";
27 platforms = lib.platforms.linux;