perlPackages.NetSFTPForeign: init at 1.89 (#45380)

* added Net::SFTP::Foreign module from CPAN

* missed patching binary path

* fixed up the license
This commit is contained in:
aanderse 2018-08-20 09:49:08 -04:00 committed by Jörg Thalheim
parent a1ffd137f5
commit 35b8140eac

View File

@ -11370,6 +11370,22 @@ let
};
};
NetSFTPForeign = buildPerlPackage rec {
name = "Net-SFTP-Foreign-1.89";
src = fetchurl {
url = "mirror://cpan/authors/id/S/SA/SALVA/${name}.tar.gz";
sha256 = "9bd33e130581c1fc3eb6108eaf9056c1507428cace04a572f7afe816d83b08a7";
};
propagatedBuildInputs = [ pkgs.openssl ];
patchPhase = ''
sed -i "s|$ssh_cmd = 'ssh'|$ssh_cmd = '${pkgs.openssh}/bin/ssh'|" lib/Net/SFTP/Foreign/Backend/Unix.pm
'';
meta = {
description = "Secure File Transfer Protocol client";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
};
};
NetServerCoro = buildPerlPackage rec {
name = "Net-Server-Coro-1.3";
src = fetchurl {