3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/mail/dovecot/default.nix

28 lines
835 B
Nix
Raw Normal View History

2012-07-30 17:58:54 +01:00
{stdenv, fetchurl, openssl, pam, bzip2, zlib, inotifyTools, openldap}:
stdenv.mkDerivation rec {
2013-12-18 13:32:52 +00:00
name = "dovecot-2.1.17";
buildInputs = [openssl bzip2 zlib openldap] ++ stdenv.lib.optionals stdenv.isLinux [pam inotifyTools];
src = fetchurl {
url = "http://dovecot.org/releases/2.1/${name}.tar.gz";
2013-12-18 13:32:52 +00:00
sha256 = "06j2s5bcrmc0dhjsyavqiss3k65p6xn00a7sffpsv6w3yngv777m";
};
# It will hardcode this for /var/lib/dovecot.
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626211
2012-07-30 17:58:54 +01:00
configureFlags = [
"--localstatedir=/var"
"--with-ldap"
];
meta = {
2012-09-25 10:35:05 +01:00
homepage = "http://dovecot.org/";
description = "Open source IMAP and POP3 email server written with security primarily in mind";
maintainers = with stdenv.lib.maintainers; [viric simons];
hydraPlatforms = stdenv.lib.platforms.linux;
};
}