2011-10-27 23:07:39 +01:00
|
|
|
{stdenv, fetchurl, openssl, pam, bzip2, zlib}:
|
2011-10-25 21:34:19 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "dovecot-2.0.15";
|
|
|
|
|
2011-10-27 23:07:39 +01:00
|
|
|
buildInputs = [openssl pam bzip2 zlib];
|
2011-10-25 21:34:19 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://dovecot.org/releases/2.0/dovecot-2.0.15.tar.gz;
|
|
|
|
sha256 = "03byp6alxxk65qfjjnqp6kcncs5cdiqgskx90nk9kcnynl1h6r33";
|
|
|
|
};
|
|
|
|
|
2011-10-27 23:03:41 +01:00
|
|
|
# It will hardcode this for /var/lib/dovecot.
|
|
|
|
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626211
|
|
|
|
configureFlags = [ "--localstatedir=/var" ];
|
|
|
|
|
2011-10-25 21:34:19 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://dovecot.org/;
|
|
|
|
description = "Open source IMAP and POP3 email server written with security primarily in mind";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|