diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 388a07fc0983..4ec7f1d1d833 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -3174,14 +3174,13 @@ let self = _self // overrides; _self = with self; { buildInputs = [ TestException ]; }; - DataPagePageset = buildPerlPackage rec { + DataPagePageset = buildPerlModule rec { name = "Data-Page-Pageset-1.02"; src = fetchurl { - url = "https://cpan.metacpan.org/authors/id/C/CH/CHUNZI/Data-Page-Pageset-1.02.tar.gz"; + url = mirror://cpan/authors/id/C/CH/CHUNZI/Data-Page-Pageset-1.02.tar.gz; sha256 = "142isi8la383dbjxj7lfgcbmmrpzwckcc4wma6rdl8ryajsipb6f"; }; - buildInputs = [ TestPod TestPodCoverage ]; - propagatedBuildInputs = [ DataPage ]; + buildInputs = [ ClassAccessor DataPage TestException ]; meta = { description = "change long page list to be shorter and well navigate"; license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];