2011-10-28 00:07:39 +02:00
|
|
|
{stdenv, fetchurl, openssl, pam, bzip2, zlib}:
|
2011-10-25 22:34:19 +02:00
|
|
|
|
2012-06-13 09:09:03 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "dovecot-2.1.7";
|
2011-10-25 22:34:19 +02:00
|
|
|
|
2011-10-28 00:07:39 +02:00
|
|
|
buildInputs = [openssl pam bzip2 zlib];
|
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";
|
|
|
|
sha256 = "0lpldhs0nvy6rxabqkp14wzcwf1cx4jvnbp1xcm74izrzxhvrdym";
|
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
|
|
|
|
configureFlags = [ "--localstatedir=/var" ];
|
|
|
|
|
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";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|