Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 fetchFromGitHub,
3 lib,
4 php,
5}:
6
7php.buildComposerProject2 (finalAttrs: {
8 pname = "php-codesniffer";
9 version = "3.13.2";
10
11 src = fetchFromGitHub {
12 owner = "PHPCSStandards";
13 repo = "PHP_CodeSniffer";
14 tag = finalAttrs.version;
15 hash = "sha256-W+svoVatRY53KM7ZJQmFxyDf+N738TrCljv1erZUFuU=";
16 };
17
18 vendorHash = "sha256-y1tC9owXaa/l6M4RH/DEIuqTWgcU7zjrWi//zjwMvuo=";
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})