1 { lib, stdenv, fetchurl, perl, perlPackages, makeWrapper }:
3 stdenv.mkDerivation rec {
5 version = "20201014.0";
8 url = "https://www.jetmore.org/john/code/swaks/files/${pname}-${version}.tar.gz";
9 sha256 = "0c2sx4nrh4whsqzj6m5ay8d7yqan3aqgg436p8jb25bs91ykn2pv";
12 nativeBuildInputs = [ makeWrapper ];
13 buildInputs = [ perl ];
19 wrapProgram $out/bin/swaks --set PERL5LIB \
20 "${with perlPackages; makePerlPath [
21 NetSSLeay AuthenSASL NetDNS IOSocketInet6
26 homepage = "http://www.jetmore.org/john/code/swaks/";
27 description = "A featureful, flexible, scriptable, transaction-oriented SMTP test tool";
28 license = licenses.gpl2Plus;
29 maintainers = with maintainers; [];
30 platforms = platforms.all;