diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/networking/maildrop/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/networking/maildrop/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/networking/maildrop/default.nix b/nixpkgs/pkgs/tools/networking/maildrop/default.nix new file mode 100644 index 000000000000..b258c638df52 --- /dev/null +++ b/nixpkgs/pkgs/tools/networking/maildrop/default.nix @@ -0,0 +1,24 @@ +{ fetchurl, lib, stdenv, pkg-config, pcre, perl }: + +stdenv.mkDerivation { + name = "maildrop-2.6.0"; + + src = fetchurl { + url = "mirror://sourceforge/courier/maildrop/2.6.0/maildrop-2.6.0.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; + }; +} |