Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 28 lines 780 B view raw
1{ 2 fetchFromGitHub, 3 lib, 4 php, 5}: 6 7php.buildComposerProject (finalAttrs: { 8 pname = "php-codesniffer"; 9 version = "3.9.0"; 10 11 src = fetchFromGitHub { 12 owner = "PHPCSStandards"; 13 repo = "PHP_CodeSniffer"; 14 rev = "${finalAttrs.version}"; 15 hash = "sha256-HyAb0vfruJWch09GVWtKI+NOTpsUkkLRusFSwZlNHjA="; 16 }; 17 18 composerLock = ./composer.lock; 19 vendorHash = "sha256-nM0sKdD+fc3saPCvU+0KI7HM+LdSi0vJIoutwuZnx/Y="; 20 21 meta = { 22 changelog = "https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/tag/${finalAttrs.version}"; 23 description = "PHP coding standard tool"; 24 license = lib.licenses.bsd3; 25 homepage = "https://github.com/PHPCSStandards/PHP_CodeSniffer/"; 26 maintainers = with lib.maintainers; [ javaguirre ] ++ lib.teams.php.members; 27 }; 28})