diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index b09b27e6afeb..3435bc1193af 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -8508,11 +8508,11 @@ let self = _self // overrides; _self = with self; { }; }; - PerlCritic = buildPerlModule { - name = "Perl-Critic-1.125"; + PerlCritic = buildPerlModule rec { + name = "Perl-Critic-1.126"; src = fetchurl { - url = mirror://cpan/authors/id/T/TH/THALJEF/Perl-Critic-1.125.tar.gz; - sha256 = "503b718356b14d4c00ed486b66a0f622f4bef2b206be406ee7922c8270463fa1"; + url = "mirror://cpan/authors/id/T/TH/THALJEF/${name}.tar.gz"; + sha256 = "b1a6151cb3603aef8555195b807e831655c83003b81e2f64fff095ff7114f5af"; }; buildInputs = [ TestDeep ]; propagatedBuildInputs = [ BKeywords ConfigTiny EmailAddress ExceptionClass FileHomeDir FileWhich IOString ListMoreUtils ModulePluggable PPI PPIxRegexp PPIxUtilities PerlTidy PodSpell Readonly StringFormat TaskWeaken ];