uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
33
pkgs/tools/networking/swaks/default.nix
Normal file
33
pkgs/tools/networking/swaks/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, stdenv, fetchurl, perl, perlPackages, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "swaks";
|
||||
version = "20201014.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.jetmore.org/john/code/swaks/files/${pname}-${version}.tar.gz";
|
||||
sha256 = "0c2sx4nrh4whsqzj6m5ay8d7yqan3aqgg436p8jb25bs91ykn2pv";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ perl ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
mv swaks $out/bin/
|
||||
|
||||
wrapProgram $out/bin/swaks --set PERL5LIB \
|
||||
"${with perlPackages; makePerlPath [
|
||||
NetSSLeay AuthenSASL NetDNS IOSocketInet6
|
||||
]}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://www.jetmore.org/john/code/swaks/";
|
||||
description = "A featureful, flexible, scriptable, transaction-oriented SMTP test tool";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue