1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 02:51:18 +00:00
nixpkgs/pkgs/servers/mail/dovecot/2.x.nix

28 lines
787 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 {
2012-07-24 23:34:19 +01:00
name = "dovecot-2.1.8";
2012-07-30 17:58:54 +01:00
buildInputs = [openssl pam bzip2 zlib inotifyTools openldap];
src = fetchurl {
url = "http://dovecot.org/releases/2.1/${name}.tar.gz";
2012-07-24 23:34:19 +01:00
sha256 = "03801f4agcwdpqyg6dfxlga3750pnhk4gaf8m7sjq1qmz2277028";
};
# 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 = {
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;
};
}