2021-01-16 19:51:22 -08:00
|
|
|
{ fetchurl, lib, stdenv, pkg-config, pcre, perl }:
|
2013-01-03 19:07:46 -08:00
|
|
|
|
2019-08-13 14:52:01 -07:00
|
|
|
stdenv.mkDerivation {
|
2013-01-03 19:07:46 -08:00
|
|
|
name = "maildrop-2.6.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/courier/maildrop/2.6.0/maildrop-2.6.0.tar.bz2";
|
|
|
|
sha256 = "1a94p2b41iy334cwfwmzi19557dn5j61abh0cp2rfc9dkc8ibhdg";
|
|
|
|
};
|
|
|
|
|
2021-01-16 19:51:22 -08:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 14:26:13 -07:00
|
|
|
buildInputs = [ pcre perl ];
|
2013-01-03 19:07:46 -08:00
|
|
|
|
|
|
|
patches = [ ./maildrop.configure.hack.patch ]; # for building in chroot
|
|
|
|
|
2018-04-24 20:20:18 -07:00
|
|
|
doCheck = false; # fails with "setlocale: LC_ALL: cannot change locale (en_US.UTF-8)"
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://www.courier-mta.org/maildrop/";
|
2013-01-03 19:07:46 -08:00
|
|
|
description = "Mail filter/mail delivery agent that is used by the Courier Mail Server";
|
2015-05-28 10:20:29 -07:00
|
|
|
license = licenses.gpl3;
|
2016-08-02 10:50:55 -07:00
|
|
|
platforms = platforms.linux;
|
2013-01-03 19:07:46 -08:00
|
|
|
};
|
|
|
|
}
|