mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
Merge pull request #157431 from stigtsp/package/perl-cpanminus-update
This commit is contained in:
commit
74299a1dc1
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user