Merge pull request #134808 from NixOS/perlcriticcommunity

Perl::Critic::Community: init at 1.0.0
This commit is contained in:
Luke Granger-Brown 2021-08-21 03:38:14 +01:00 committed by GitHub
commit a3f918340f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16913,6 +16913,22 @@ let
};
};
PerlCriticCommunity = buildPerlModule {
pname = "Perl-Critic-Community";
version = "1.0.0";
src = fetchurl {
url = "mirror://cpan/authors/id/D/DB/DBOOK/Perl-Critic-Community-v1.0.0.tar.gz";
sha256 = "311b775da4193e9de94cf5225e993cc54dd096ae1e7ef60738cdae1d9b8854e7";
};
buildInputs = [ ModuleBuildTiny ];
propagatedBuildInputs = [ PPI PathTiny PerlCritic PerlCriticPolicyVariablesProhibitLoopOnHash PerlCriticPulp ];
meta = {
homepage = "https://github.com/Grinnz/Perl-Critic-Community";
description = "Community-inspired Perl::Critic policies";
license = lib.licenses.artistic2;
};
};
PerlCriticMoose = buildPerlPackage rec {
pname = "Perl-Critic-Moose";
version = "1.05";
@ -16927,6 +16943,35 @@ let
};
};
PerlCriticPolicyVariablesProhibitLoopOnHash = buildPerlPackage {
pname = "Perl-Critic-Policy-Variables-ProhibitLoopOnHash";
version = "0.008";
src = fetchurl {
url = "mirror://cpan/authors/id/X/XS/XSAWYERX/Perl-Critic-Policy-Variables-ProhibitLoopOnHash-0.008.tar.gz";
sha256 = "12f5f0be96ea1bdc7828058577bd1c5c63ca23c17fac9c3709452b3dff5b84e0";
};
propagatedBuildInputs = [ PerlCritic ];
meta = {
description = "Don't write loops on hashes, only on keys and values of hashes";
license = with lib.licenses; [ artistic1 gpl1Plus ];
};
};
PerlCriticPulp = buildPerlPackage {
pname = "Perl-Critic-Pulp";
version = "99";
src = fetchurl {
url = "mirror://cpan/authors/id/K/KR/KRYDE/Perl-Critic-Pulp-99.tar.gz";
sha256 = "b8fda842fcbed74d210257c0a284b6dc7b1d0554a47a3de5d97e7d542e23e7fe";
};
propagatedBuildInputs = [ IOString ListMoreUtils PPI PerlCritic PodMinimumVersion ];
meta = {
homepage = "http://user42.tuxfamily.org/perl-critic-pulp/index.html";
description = "Some add-on policies for Perl::Critic";
license = lib.licenses.gpl3Plus;
};
};
PerlDestructLevel = buildPerlPackage {
pname = "Perl-Destruct-Level";
version = "0.02";
@ -17305,6 +17350,21 @@ let
Po4a = callPackage ../development/perl-modules/Po4a { };
PodMinimumVersion = buildPerlPackage {
pname = "Pod-MinimumVersion";
version = "50";
src = fetchurl {
url = "mirror://cpan/authors/id/K/KR/KRYDE/Pod-MinimumVersion-50.tar.gz";
sha256 = "0bd2812d9aacbd99bb71fa103a4bb129e955c138ba7598734207dc9fb67b5a6f";
};
propagatedBuildInputs = [ IOString PodParser ];
meta = {
homepage = "http://user42.tuxfamily.org/pod-minimumversion/index.html";
description = "Determine minimum Perl version of POD directives";
license = lib.licenses.free;
};
};
POE = buildPerlPackage {
pname = "POE";
version = "1.368";