summary refs log tree commit diff
path: root/pkgs/tools/networking/maildrop/default.nix
blob: cf9c3a4fa4e0cb7b138214e6ff7734d507f84008 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ 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";
  };

  buildInputs = [ pkgconfig pcre perl ];

  patches = [ ./maildrop.configure.hack.patch ]; # for building in chroot

  meta = with stdenv.lib; {
    homepage = http://www.courier-mta.org/maildrop/;
    description = "Mail filter/mail delivery agent that is used by the Courier Mail Server";
    license = with licenses; gpl3;
  };
}