Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
802 B · 33 lines
Nix
12345678910111213141516171819202122232425262728293031323334{ fetchFromGitHub, lib, php, versionCheckHook,}:
php.buildComposerProject2 (finalAttrs: { pname = "grumphp"; version = "2.14.0";
src = fetchFromGitHub { owner = "phpro"; repo = "grumphp"; rev = "v${finalAttrs.version}"; hash = "sha256-p8xhfu1tjSvGybA9QuqiduPS6loaWTZN5zKrcrtc4h0="; };
vendorHash = "sha256-5h+7yw6S2T9HehdO91TojjoCRIrACRRhan6cvJo6pcY=";
doInstallCheck = true; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version";
meta = { changelog = "https://github.com/phpro/grumphp/releases/tag/v${finalAttrs.version}"; description = "PHP code-quality tool"; homepage = "https://github.com/phpro/grumphp"; license = lib.licenses.mit; mainProgram = "grumphp"; teams = [ lib.teams.php ]; };})