summary refs log blame commit diff
path: root/pkgs/tools/networking/maildrop/default.nix
blob: 143172735919a1720af1232c0ee11994e176b590 (plain) (tree)
1
2
3
4
5
6
7
8
                                                  
 


                         

                  
                                                                                         


                                                                    
                                     
                              


                                                                         

                                                                                       
                    
                                                      
                                                                                            
                            
                                

    
{ fetchurl, lib, stdenv, pkg-config, pcre, perl }:

stdenv.mkDerivation rec {
  pname = "maildrop";
  version = "2.6.0";

  src = fetchurl {
    url = "mirror://sourceforge/courier/maildrop/${version}/maildrop-${version}.tar.bz2";
    sha256 = "1a94p2b41iy334cwfwmzi19557dn5j61abh0cp2rfc9dkc8ibhdg";
  };

  nativeBuildInputs = [ pkg-config ];
  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)"

  meta = with lib; {
    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;
  };
}