mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
perl-CPAN: depend on ModuleBuild
Also fix license field and minor other cleanups.
This commit is contained in:
parent
2d7a4a76cd
commit
a8272280d7
1 changed files with 4 additions and 4 deletions
|
@ -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 ];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue