mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-19 15:11:30 +00:00
29 lines
748 B
Nix
29 lines
748 B
Nix
{
|
|
fetchFromGitHub,
|
|
lib,
|
|
php,
|
|
}:
|
|
|
|
php.buildComposerProject2 (finalAttrs: {
|
|
pname = "php-codesniffer";
|
|
version = "4.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "PHPCSStandards";
|
|
repo = "PHP_CodeSniffer";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-63W9GMTDrIIMWSieYjv+xAHEj9xjsnvXsUXQ1I7fQFo=";
|
|
};
|
|
|
|
vendorHash = "sha256-h+EVwPtIeXnVHEMCMYJFwuqeWXvZaYLTxrb/RKycIx0=";
|
|
|
|
meta = {
|
|
changelog = "https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/tag/${finalAttrs.version}";
|
|
description = "PHP coding standard tool";
|
|
license = lib.licenses.bsd3;
|
|
homepage = "https://github.com/PHPCSStandards/PHP_CodeSniffer/";
|
|
maintainers = with lib.maintainers; [ javaguirre ];
|
|
teams = [ lib.teams.php ];
|
|
};
|
|
})
|