nixpkgs/pkgs/tools/networking/swaks/default.nix
R. RyanTM 1749c8ff1c swaks: 20170101.0 -> 20181104.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/swaks/versions
2018-11-08 12:02:55 -08:00

34 lines
898 B
Nix

{ stdenv, fetchurl, perl, perlPackages, makeWrapper }:
stdenv.mkDerivation rec {
name = "swaks-${version}";
version = "20181104.0";
src = fetchurl {
url = "https://www.jetmore.org/john/code/swaks/files/${name}.tar.gz";
sha256 = "0n1yd27xcyb1ylp5gln3yv5gzi9r377hjy1j32367kgb3247ygq2";
};
buildInputs = [ perl makeWrapper ];
installPhase = ''
mkdir -p $out/bin
mv swaks $out/bin/
wrapProgram $out/bin/swaks --set PERL5LIB \
"${with perlPackages; stdenv.lib.makePerlPath [
NetSSLeay AuthenSASL NetDNS IOSocketInet6
]}"
'';
meta = with stdenv.lib; {
homepage = http://www.jetmore.org/john/code/swaks/;
description = ''
A featureful, flexible, scriptable, transaction-oriented SMTP test tool
'';
license = licenses.gpl2;
maintainers = with maintainers; [ rickynils ndowens ];
platforms = platforms.all;
};
}