2023-12-22 08:57:27 +00:00
|
|
|
{
|
|
|
|
fetchFromGitHub,
|
|
|
|
lib,
|
|
|
|
php,
|
|
|
|
}:
|
2022-12-25 18:53:06 +00:00
|
|
|
|
2024-05-23 11:06:05 +00:00
|
|
|
php.buildComposerProject2 (finalAttrs: {
|
2022-02-12 21:39:48 +00:00
|
|
|
pname = "grumphp";
|
2024-06-14 14:28:13 +00:00
|
|
|
version = "2.6.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-06-14 14:28:13 +00:00
|
|
|
hash = "sha256-W4LNzdgWxXDPL46/C8SX99lpRMp/xL5q5v6vX3H80XU=";
|
2022-02-12 21:39:48 +00:00
|
|
|
};
|
|
|
|
|
2024-11-23 10:48:35 +00:00
|
|
|
vendorHash = "sha256-9oInSBlN6hDe9Bj/ISP/7O9Q1xp4tXRm99XhsrJog0E=";
|
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}";
|
2022-02-12 21:39:48 +00:00
|
|
|
description = "PHP code-quality tool";
|
|
|
|
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
|
|
|
})
|