2021-02-05 17:12:51 +00:00
|
|
|
{ fetchurl, lib, stdenv, pkg-config, pcre, perl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "maildrop-2.6.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/courier/maildrop/2.6.0/maildrop-2.6.0.tar.bz2";
|
|
|
|
sha256 = "1a94p2b41iy334cwfwmzi19557dn5j61abh0cp2rfc9dkc8ibhdg";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ pcre perl ];
|
|
|
|
|
|
|
|
patches = [ ./maildrop.configure.hack.patch ]; # for building in chroot
|
|
|
|
|
|
|
|
doCheck = false; # fails with "setlocale: LC_ALL: cannot change locale (en_US.UTF-8)"
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://www.courier-mta.org/maildrop/";
|
|
|
|
description = "Mail filter/mail delivery agent that is used by the Courier Mail Server";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|