Merge pull request #102066 from zakame/contrib/perl-NetAsyncHTTP

perlPackages.NetAsyncHTTP: init at 0.47
This commit is contained in:
StigP 2020-10-30 16:40:22 +00:00 committed by GitHub
commit 685c059737
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14570,6 +14570,27 @@ let
};
};
NetAsyncHTTP = buildPerlModule {
pname = "Net-Async-HTTP";
version = "0.47";
src = fetchurl {
url = "mirror://cpan/authors/id/P/PE/PEVANS/Net-Async-HTTP-0.47.tar.gz";
sha256 = "1lwy1ijrhibi087p3q5zvadhkq0slfrzfhb76cmkx4mpyv5v4l8f";
};
buildInputs = [ HTTPCookies TestIdentity TestMetricsAny TestRefcount ];
propagatedBuildInputs = [ Future HTTPMessage IOAsync MetricsAny StructDumb URI ];
preCheck = stdenv.lib.optionalString stdenv.isDarwin ''
# network tests fail on Darwin/sandbox, so disable these
rm -f t/20local-connect.t t/22local-connect-pipeline.t t/23local-connect-redir.t
rm -f t/90rt75615.t t/90rt75616.t t/90rt93232.t
'';
meta = {
description = "Use HTTP with IO::Async";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
maintainers = [ maintainers.zakame ];
};
};
NetAsyncPing = buildPerlPackage {
pname = "Net-Async-Ping";
version = "0.004001";