2023-12-22 08:57:27 +00:00
|
|
|
{
|
|
|
|
fetchFromGitHub,
|
|
|
|
lib,
|
|
|
|
php,
|
|
|
|
}:
|
2022-12-25 18:53:06 +00:00
|
|
|
|
2023-10-21 14:52:55 +00:00
|
|
|
php.buildComposerProject (finalAttrs: {
|
2022-02-12 21:39:48 +00:00
|
|
|
pname = "grumphp";
|
2024-02-10 10:55:02 +00:00
|
|
|
version = "2.5.0";
|
2022-02-12 21:39:48 +00:00
|
|
|
|
2023-10-21 14:52:55 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "phpro";
|
|
|
|
repo = "grumphp";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2024-02-10 10:55:02 +00:00
|
|
|
hash = "sha256-STTMqOzWE6c+EXA7PGoJTGVCyB3PtNVj5wSZ6igudro=";
|
2022-02-12 21:39:48 +00:00
|
|
|
};
|
|
|
|
|
2024-02-10 10:55:02 +00:00
|
|
|
vendorHash = "sha256-CrcDJb5SfTBxVkFPTLq0PSzqNtkZWDPkH0IW7Crr4Pw=";
|
2023-10-21 14:52:55 +00:00
|
|
|
|
|
|
|
meta = {
|
2023-02-08 17:34:41 +00:00
|
|
|
changelog = "https://github.com/phpro/grumphp/releases/tag/v${finalAttrs.version}";
|
2024-06-07 07:46:46 +00:00
|
|
|
description = "PHP code-quality tool";
|
2022-02-12 21:39:48 +00:00
|
|
|
homepage = "https://github.com/phpro/grumphp";
|
2023-10-21 14:52:55 +00:00
|
|
|
license = lib.licenses.mit;
|
2023-12-05 15:39:28 +00:00
|
|
|
mainProgram = "grumphp";
|
2023-10-21 14:52:55 +00:00
|
|
|
maintainers = lib.teams.php.members;
|
2022-02-12 21:39:48 +00:00
|
|
|
};
|
2023-02-08 17:34:41 +00:00
|
|
|
})
|