forked from mirrors/nixpkgs
2e6bf42a22
There ver very many conflicts, basically all due to name -> pname+version. Fortunately, almost everything was auto-resolved by kdiff3, and for now I just fixed up a couple evaluation problems, as verified by the tarball job. There might be some fallback to these conflicts, but I believe it should be minimal. Hydra nixpkgs: ?compare=1538299
35 lines
879 B
Nix
35 lines
879 B
Nix
{ stdenv, fetchurl, perl, perlPackages, makeWrapper }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "swaks";
|
|
version = "20181104.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.jetmore.org/john/code/swaks/files/${pname}-${version}.tar.gz";
|
|
sha256 = "0n1yd27xcyb1ylp5gln3yv5gzi9r377hjy1j32367kgb3247ygq2";
|
|
};
|
|
|
|
buildInputs = [ perl makeWrapper ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
mv swaks $out/bin/
|
|
|
|
wrapProgram $out/bin/swaks --set PERL5LIB \
|
|
"${with perlPackages; 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; [ ndowens ];
|
|
platforms = platforms.all;
|
|
};
|
|
|
|
}
|