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
674 B
Nix
Raw Permalink Normal View History

2023-12-22 08:57:27 +00:00
{
fetchFromGitHub,
lib,
php,
}:
2022-12-25 18:53:06 +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
};
vendorHash = "sha256-9oInSBlN6hDe9Bj/ISP/7O9Q1xp4tXRm99XhsrJog0E=";
2023-10-21 14:52:55 +00:00
meta = {
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;
mainProgram = "grumphp";
2023-10-21 14:52:55 +00:00
maintainers = lib.teams.php.members;
2022-02-12 21:39:48 +00:00
};
})