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