mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 15:41:40 +00:00
Merge pull request #46896 from aanderse/perlPackages.NetSCP
perlPackages.NetSCP & perlPackages.NetSSH: init at 0.08 & 0.09
This commit is contained in:
commit
ec2b76b786
|
@ -11343,6 +11343,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";
|
||||
|
@ -11421,6 +11436,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 {
|
||||
|
|
Loading…
Reference in a new issue