Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
28 lines
674 B
Nix
28 lines
674 B
Nix
{
|
|
fetchFromGitHub,
|
|
lib,
|
|
php,
|
|
}:
|
|
|
|
php.buildComposerProject2 (finalAttrs: {
|
|
pname = "grumphp";
|
|
version = "2.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "phpro";
|
|
repo = "grumphp";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-W4LNzdgWxXDPL46/C8SX99lpRMp/xL5q5v6vX3H80XU=";
|
|
};
|
|
|
|
vendorHash = "sha256-hi6selMMu5UDdMHiyhlXPd/B1BdM/ht+3EAM4Oa5LNU=";
|
|
|
|
meta = {
|
|
changelog = "https://github.com/phpro/grumphp/releases/tag/v${finalAttrs.version}";
|
|
description = "PHP code-quality tool";
|
|
homepage = "https://github.com/phpro/grumphp";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "grumphp";
|
|
maintainers = lib.teams.php.members;
|
|
};
|
|
})
|