nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 28 lines 748 B view raw
1{ 2 fetchFromGitHub, 3 lib, 4 php, 5}: 6 7php.buildComposerProject2 (finalAttrs: { 8 pname = "php-codesniffer"; 9 version = "4.0.1"; 10 11 src = fetchFromGitHub { 12 owner = "PHPCSStandards"; 13 repo = "PHP_CodeSniffer"; 14 tag = finalAttrs.version; 15 hash = "sha256-63W9GMTDrIIMWSieYjv+xAHEj9xjsnvXsUXQ1I7fQFo="; 16 }; 17 18 vendorHash = "sha256-h+EVwPtIeXnVHEMCMYJFwuqeWXvZaYLTxrb/RKycIx0="; 19 20 meta = { 21 changelog = "https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/tag/${finalAttrs.version}"; 22 description = "PHP coding standard tool"; 23 license = lib.licenses.bsd3; 24 homepage = "https://github.com/PHPCSStandards/PHP_CodeSniffer/"; 25 maintainers = with lib.maintainers; [ javaguirre ]; 26 teams = [ lib.teams.php ]; 27 }; 28})