perlPackages.NetSCP & perlPackages.NetSSH: init at 0.08 & 0.09

This commit is contained in:
Aaron Andersen 2018-09-19 10:45:05 -04:00
parent 48d1c50f7a
commit 20b09542f2

View File

@ -11325,6 +11325,21 @@ let
};
};
NetSCP = buildPerlPackage rec {
name = "Net-SCP-0.08.reprise";
src = fetchurl {
url = "mirror://cpan/authors/id/I/IV/IVAN/${name}.tar.gz";
sha256 = "88a9b2df69e769e5855a408b19f61915b82e8fe070ab5cf4d525dd3b8bbe31c1";
};
propagatedBuildInputs = [ pkgs.openssl Carp Exporter IO NetSSH StringShellQuote ];
patchPhase = ''
sed -i 's|$scp = "scp";|$scp = "${pkgs.openssh}/bin/scp";|' SCP.pm
'';
meta = {
description = "Simple wrappers around ssh and scp commands.";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
};
};
NetServer = buildPerlPackage {
name = "Net-Server-2.009";
@ -11403,6 +11418,22 @@ let
doCheck = false; # The test suite fails, see https://rt.cpan.org/Public/Bug/Display.html?id=85799
};
NetSSH = buildPerlPackage rec {
name = "Net-SSH-0.09";
src = fetchurl {
url = "mirror://cpan/authors/id/I/IV/IVAN/${name}.tar.gz";
sha256 = "7c71c7c3cbe953234dfe25bcc1ad7edb0e1f5a0578601f5523bc6070262a3817";
};
propagatedBuildInputs = [ pkgs.openssl Exporter IO ];
patchPhase = ''
sed -i 's|$ssh = "ssh";|$ssh = "${pkgs.openssh}/bin/ssh";|' SSH.pm
'';
meta = {
description = "Simple wrappers around ssh commands.";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
};
};
NetSSLeay = buildPerlPackage rec {
name = "Net-SSLeay-1.85";
src = fetchurl {