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

authored by Martin Weinelt and committed by GitHub 74299a1d d6f45aa6

+12 -3
+12 -3
pkgs/top-level/perl-packages.nix
··· 729 729 730 730 Appcpanminus = buildPerlPackage { 731 731 pname = "App-cpanminus"; 732 - version = "1.7044"; 732 + version = "1.7045"; 733 733 src = fetchurl { 734 - url = "mirror://cpan/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7044.tar.gz"; 735 - sha256 = "9b60767fe40752ef7a9d3f13f19060a63389a5c23acc3e9827e19b75500f81f3"; 734 + url = "mirror://cpan/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7045.tar.gz"; 735 + sha256 = "1779w07zxlgfk35s24ksr7k9azd5yl8sbb48y1aaph7y4gf4lkmc"; 736 736 }; 737 + # Use TLS endpoints for downloads and metadata by default 738 + preConfigure = '' 739 + substituteInPlace bin/cpanm \ 740 + --replace http://www.cpan.org https://www.cpan.org \ 741 + --replace http://backpan.perl.org https://backpan.perl.org \ 742 + --replace http://fastapi.metacpan.org https://fastapi.metacpan.org \ 743 + --replace http://cpanmetadb.plackperl.org https://cpanmetadb.plackperl.org 744 + ''; 745 + propagatedBuildInputs = [ IOSocketSSL ]; 737 746 meta = { 738 747 homepage = "https://github.com/miyagawa/cpanminus"; 739 748 description = "Get, unpack, build and install modules from CPAN";