2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 17:23:08 +00:00
nixpkgs/pkgs/servers/mail/clamsmtp/default.nix
Samuel Ainsworth 02c595ebdb
Prefer pname and version in mkDerivations instead of name ()
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: nixpkgs-review <nixpkgs-review@example.com>
2021-05-23 17:07:31 +02:00

23 lines
629 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 ];
platforms = platforms.all;
};
}