2012-07-30 18:58:54 +02:00
|
|
|
{stdenv, fetchurl, openssl, pam, bzip2, zlib, inotifyTools, openldap}:
|
2011-10-25 22:34:19 +02:00
|
|
|
|
2012-06-13 09:09:03 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2012-07-25 00:34:19 +02:00
|
|
|
name = "dovecot-2.1.8";
|
2011-10-25 22:34:19 +02:00
|
|
|
|
2012-07-30 18:58:54 +02:00
|
|
|
buildInputs = [openssl pam bzip2 zlib inotifyTools openldap];
|
2011-10-25 22:34:19 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-06-13 09:09:03 +02:00
|
|
|
url = "http://dovecot.org/releases/2.1/${name}.tar.gz";
|
2012-07-25 00:34:19 +02:00
|
|
|
sha256 = "03801f4agcwdpqyg6dfxlga3750pnhk4gaf8m7sjq1qmz2277028";
|
2011-10-25 22:34:19 +02:00
|
|
|
};
|
|
|
|
|
2011-10-28 00:03:41 +02:00
|
|
|
# It will hardcode this for /var/lib/dovecot.
|
|
|
|
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626211
|
2012-07-30 18:58:54 +02:00
|
|
|
configureFlags = [
|
|
|
|
"--localstatedir=/var"
|
|
|
|
"--with-ldap"
|
|
|
|
];
|
2011-10-28 00:03:41 +02:00
|
|
|
|
2011-10-25 22:34:19 +02:00
|
|
|
meta = {
|
|
|
|
homepage = http://dovecot.org/;
|
|
|
|
description = "Open source IMAP and POP3 email server written with security primarily in mind";
|
2012-09-22 11:46:52 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric simons];
|
2011-10-25 22:34:19 +02:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
2012-09-22 11:46:52 +02:00
|
|
|
|
2011-10-25 22:34:19 +02:00
|
|
|
}
|