mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
Merge pull request #135079 from zakame/contrib/perl-PerlCritic-shortenPerlShebang
perlPackages.PerlCritic: shortenPerlShebang on Darwin
This commit is contained in:
commit
d0182a4046
@ -16905,12 +16905,16 @@ let
|
||||
sha256 = "2ad194f91ef24df4698369c2562d4164e9bf74f2d5565c681841abf79789ed82";
|
||||
};
|
||||
buildInputs = [ TestDeep ];
|
||||
nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
|
||||
propagatedBuildInputs = [ BKeywords ConfigTiny FileWhich ListMoreUtils ModulePluggable PPIxQuoteLike PPIxRegexp PPIxUtilities PerlTidy PodSpell StringFormat ];
|
||||
meta = {
|
||||
homepage = "http://perlcritic.com";
|
||||
description = "Critique Perl source code for best-practices";
|
||||
license = with lib.licenses; [ artistic1 gpl1Plus ];
|
||||
};
|
||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||
shortenPerlShebang $out/bin/perlcritic
|
||||
'';
|
||||
};
|
||||
|
||||
PerlCriticCommunity = buildPerlModule {
|
||||
|
Loading…
Reference in New Issue
Block a user