2024-01-02 11:29:13 +00:00
|
|
|
{ fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, php
|
|
|
|
}:
|
2023-01-11 07:51:40 +00:00
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
php.buildComposerProject (finalAttrs: {
|
2022-03-05 16:20:37 +00:00
|
|
|
pname = "grumphp";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "2.4.0";
|
2022-03-05 16:20:37 +00:00
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "phpro";
|
|
|
|
repo = "grumphp";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-htddnBQ6VkVlZ+d5UYu2kyzrbfACRCZRdYtdGGaZ+FE=";
|
2022-03-05 16:20:37 +00:00
|
|
|
};
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
vendorHash = "sha256-UJsWZ5dYW8sEft/i122x7bJJ33TVjEp5CU65rW/tHhk=";
|
2023-11-16 04:20:00 +00:00
|
|
|
|
|
|
|
meta = {
|
2023-02-16 17:41:37 +00:00
|
|
|
changelog = "https://github.com/phpro/grumphp/releases/tag/v${finalAttrs.version}";
|
2022-03-05 16:20:37 +00:00
|
|
|
description = "A PHP code-quality tool";
|
|
|
|
homepage = "https://github.com/phpro/grumphp";
|
2023-11-16 04:20:00 +00:00
|
|
|
license = lib.licenses.mit;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "grumphp";
|
2023-11-16 04:20:00 +00:00
|
|
|
maintainers = lib.teams.php.members;
|
2022-03-05 16:20:37 +00:00
|
|
|
};
|
2023-02-16 17:41:37 +00:00
|
|
|
})
|