10 stdenv.mkDerivation rec {
12 version = "20240103.0";
15 url = "https://www.jetmore.org/john/code/swaks/files/${pname}-${version}.tar.gz";
16 sha256 = "sha256-DlMbTRZAWIAucmaxT03BiXCZ0Jb5MIIN4vm16wjc2+g=";
19 nativeBuildInputs = [ makeWrapper ];
20 buildInputs = [ perl ];
26 wrapProgram $out/bin/swaks --set PERL5LIB \
39 homepage = "http://www.jetmore.org/john/code/swaks/";
40 description = "Featureful, flexible, scriptable, transaction-oriented SMTP test tool";
41 mainProgram = "swaks";
42 license = licenses.gpl2Plus;
44 platforms = platforms.all;