depot/third_party/nixpkgs/pkgs/development/php-packages/grumphp/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

28 lines
675 B
Nix

{
fetchFromGitHub,
lib,
php,
}:
php.buildComposerProject (finalAttrs: {
pname = "grumphp";
version = "2.5.0";
src = fetchFromGitHub {
owner = "phpro";
repo = "grumphp";
rev = "v${finalAttrs.version}";
hash = "sha256-STTMqOzWE6c+EXA7PGoJTGVCyB3PtNVj5wSZ6igudro=";
};
vendorHash = "sha256-CrcDJb5SfTBxVkFPTLq0PSzqNtkZWDPkH0IW7Crr4Pw=";
meta = {
changelog = "https://github.com/phpro/grumphp/releases/tag/v${finalAttrs.version}";
description = "A PHP code-quality tool";
homepage = "https://github.com/phpro/grumphp";
license = lib.licenses.mit;
mainProgram = "grumphp";
maintainers = lib.teams.php.members;
};
})