nixpkgs/pkgs/servers/mail/popa3d/default.nix

25 lines
667 B
Nix
Raw Normal View History

2012-09-18 23:27:00 +00:00
{ stdenv, fetchurl, openssl }:
2012-09-18 23:16:01 +00:00
stdenv.mkDerivation rec {
name = "popa3d-1.0.2";
src = fetchurl {
url = "http://www.openwall.com/popa3d/${name}.tar.gz";
sha256 = "0zvspgnlrx4jhhkb5b1p280nsf9d558jijgpvwfyvdp4q4v460z7";
};
2012-09-18 23:27:00 +00:00
buildInputs = [ openssl ];
patches = [ ./fix-mail-spool-path.patch ./use-openssl.patch ./use-glibc-crypt.patch ];
configurePhase = ''makeFlags="PREFIX=$out MANDIR=$out/share/man"'';
2012-09-18 23:16:01 +00:00
meta = {
homepage = "http://www.openwall.com/popa3d/";
description = "tiny POP3 daemon with security as the primary goal";
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.simons ];
};
}