perlPackages.CPAN: apply patch to fix changed YAML module default

ZHF: #80379
https://hydra.nixos.org/build/112819370
https://hydra.nixos.org/build/112832567

A default has changed in YAML, breaking the latest release of CPAN. This commit
applies a A patch from the PR fixing the problem.

https://github.com/andk/cpanpm/pull/133
This commit is contained in:
Stig Palmquist 2020-02-18 22:19:03 +01:00
parent 1b96f9b68c
commit 153b0db967
No known key found for this signature in database
GPG key ID: 10C838A306094775

View file

@ -3279,6 +3279,13 @@ let
url = mirror://cpan/authors/id/A/AN/ANDK/CPAN-2.27.tar.gz;
sha256 = "b4b1471a2881e2d616f59e723879b4110ae485b79d5962f115119c28cf69e07f";
};
patches = [
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/andk/cpanpm/pull/133.diff";
name = "patch-YAML-modules-default-for-LoadBlessed-was-changed-to-false";
sha256 = "0i8648cwshzzd0b34gyfn68s1vs85d8336ggk2kl99awah1ydsfr";
})
];
propagatedBuildInputs = [ ArchiveZip CPANChecksums CPANPerlReleases Expect FileHomeDir LWP LogLog4perl ModuleBuild TermReadKey YAML YAMLLibYAML YAMLSyck ];
meta = {
description = "Query, download and build perl modules from CPAN sites";