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