{ lib, fetchFromGitHub, php, }: php.buildComposerProject (finalAttrs: { pname = "php-cs-fixer"; version = "3.58.1"; src = fetchFromGitHub { owner = "PHP-CS-Fixer"; repo = "PHP-CS-Fixer"; rev = "v${finalAttrs.version}"; hash = "sha256-MBNFTHhApANDeHY0tTKbIP2EfVDH7mxwA42PKihzPug="; }; # Missing `composer.lock` from the repository. # Issue open at https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7590 composerLock = ./composer.lock; vendorHash = "sha256-dryqtCUr2xkZgDRLKpQjyEpLGz8WiHtLY4fF/pCR10w="; meta = { changelog = "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases/tag/v${finalAttrs.version}"; description = "Tool to automatically fix PHP coding standards issues"; homepage = "https://cs.symfony.com/"; license = lib.licenses.mit; mainProgram = "php-cs-fixer"; maintainers = lib.teams.php.members; }; })