Merge pull request #157431 from stigtsp/package/perl-cpanminus-update

This commit is contained in:
Martin Weinelt 2022-01-31 22:05:25 +01:00 committed by GitHub
commit 74299a1dc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -729,11 +729,20 @@ let
Appcpanminus = buildPerlPackage { Appcpanminus = buildPerlPackage {
pname = "App-cpanminus"; pname = "App-cpanminus";
version = "1.7044"; version = "1.7045";
src = fetchurl { src = fetchurl {
url = "mirror://cpan/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7044.tar.gz"; url = "mirror://cpan/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7045.tar.gz";
sha256 = "9b60767fe40752ef7a9d3f13f19060a63389a5c23acc3e9827e19b75500f81f3"; sha256 = "1779w07zxlgfk35s24ksr7k9azd5yl8sbb48y1aaph7y4gf4lkmc";
}; };
# Use TLS endpoints for downloads and metadata by default
preConfigure = ''
substituteInPlace bin/cpanm \
--replace http://www.cpan.org https://www.cpan.org \
--replace http://backpan.perl.org https://backpan.perl.org \
--replace http://fastapi.metacpan.org https://fastapi.metacpan.org \
--replace http://cpanmetadb.plackperl.org https://cpanmetadb.plackperl.org
'';
propagatedBuildInputs = [ IOSocketSSL ];
meta = { meta = {
homepage = "https://github.com/miyagawa/cpanminus"; homepage = "https://github.com/miyagawa/cpanminus";
description = "Get, unpack, build and install modules from CPAN"; description = "Get, unpack, build and install modules from CPAN";