nixpkgs/pkgs/development/php-packages/grumphp/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
673 B
Nix
Raw Normal View History

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";
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}";
hash = "sha256-STTMqOzWE6c+EXA7PGoJTGVCyB3PtNVj5wSZ6igudro=";
2022-02-12 21:39:48 +00:00
};
vendorHash = "sha256-CrcDJb5SfTBxVkFPTLq0PSzqNtkZWDPkH0IW7Crr4Pw=";
2023-10-21 14:52:55 +00:00
meta = {
changelog = "https://github.com/phpro/grumphp/releases/tag/v${finalAttrs.version}";
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;
mainProgram = "grumphp";
2023-10-21 14:52:55 +00:00
maintainers = lib.teams.php.members;
2022-02-12 21:39:48 +00:00
};
})