perl-CPAN: depend on ModuleBuild

Also fix license field and minor other cleanups.
This commit is contained in:
Robert Helgesson 2016-04-16 18:33:30 +02:00
parent 2d7a4a76cd
commit a8272280d7

View File

@ -2252,16 +2252,16 @@ let self = _self // overrides; _self = with self; {
};
};
CPAN = buildPerlPackage {
CPAN = buildPerlPackage rec {
name = "CPAN-2.10";
src = fetchurl {
url = mirror://cpan/authors/id/A/AN/ANDK/CPAN-2.10.tar.gz;
url = "mirror://cpan/authors/id/A/AN/ANDK/${name}.tar.gz";
sha256 = "090e9e3d9fca83b89341a75c514c7411b743c887743723dbfe80f30d4ee5f3ad";
};
propagatedBuildInputs = [ ArchiveZip CompressBzip2 Expect FileHomeDir FileWhich JSONPP LWP ModuleSignature TermReadKey TextGlob YAML YAMLLibYAML YAMLSyck ];
propagatedBuildInputs = [ ArchiveZip CompressBzip2 Expect FileHomeDir FileWhich JSONPP LWP ModuleBuild ModuleSignature TermReadKey TextGlob YAML YAMLLibYAML YAMLSyck ];
meta = {
description = "Query, download and build perl modules from CPAN sites";
license = "perl";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
};
};