depot/third_party/nixpkgs/pkgs/servers/mail/clamsmtp/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

23 lines
660 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "clamsmtp";
version = "1.10";
src = fetchurl {
url = "http://thewalter.net/stef/software/clamsmtp/${pname}-${version}.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 ];
mainProgram = "clamsmtpd";
platforms = platforms.all;
};
}