1 { fetchurl, lib, stdenv, pkg-config, pcre, perl }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/courier/maildrop/${version}/maildrop-${version}.tar.bz2";
9 sha256 = "1a94p2b41iy334cwfwmzi19557dn5j61abh0cp2rfc9dkc8ibhdg";
12 nativeBuildInputs = [ pkg-config ];
13 buildInputs = [ pcre perl ];
15 patches = [ ./maildrop.configure.hack.patch ]; # for building in chroot
17 doCheck = false; # fails with "setlocale: LC_ALL: cannot change locale (en_US.UTF-8)"
20 homepage = "http://www.courier-mta.org/maildrop/";
21 description = "Mail filter/mail delivery agent that is used by the Courier Mail Server";
22 license = licenses.gpl3;
23 platforms = platforms.linux;