depot/third_party/nixpkgs/pkgs/development/php-packages/php-parallel-lint/default.nix

29 lines
737 B
Nix
Raw Normal View History

{
fetchFromGitHub,
lib,
php,
}:
php.buildComposerProject (finalAttrs: {
pname = "php-parallel-lint";
version = "1.4.0";
src = fetchFromGitHub {
owner = "php-parallel-lint";
repo = "PHP-Parallel-Lint";
rev = "v${finalAttrs.version}";
hash = "sha256-g5e/yfvfq55MQDux3JRDvhaYEay68Q4u1VfIwDRgv7I=";
};
composerLock = ./composer.lock;
vendorHash = "sha256-NZLGeX1i+E621UGYeWn5tKufDbCLv4iD1VXJcnhfleY=";
meta = {
description = "Tool to check syntax of PHP files faster than serial check with fancier output";
homepage = "https://github.com/php-parallel-lint/PHP-Parallel-Lint";
license = lib.licenses.bsd2;
mainProgram = "parallel-lint";
maintainers = lib.teams.php.members;
};
})