about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/mail/clamsmtp/default.nix
blob: fc3212453d88db98ccd37e0d5ec12a70c14150f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, stdenv, fetchurl }:

stdenv.mkDerivation rec {
  name = "clamsmtp-" + version;
  version = "1.10";

  src = fetchurl {
    url = "http://thewalter.net/stef/software/clamsmtp/${name}.tar.gz";
    sha256 = "0apr1pxifw6f1rbbsdrrwzs1dnhybg4hda3qqhqcw7p14r5xnbx5";
  };

  patches = [ ./header-order.patch ];

  meta = with lib; {
    description = "SMTP filter that allows to check for viruses using the ClamAV
                   anti-virus software";
    homepage = "http://thewalter.net/stef/software/clamsmtp/";
    license = licenses.bsd3;
    maintainers = [ maintainers.ekleog ];
    platforms = platforms.all;
  };
}