biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / php-packages / phpstan / default.nix
blobc206a881eb15670065684dcab1a6bc06d45e9cf2
1 { fetchFromGitHub, lib, php }:
3 php.buildComposerProject (finalAttrs: {
4   pname = "phpstan";
5   version = "1.10.66";
7   src = fetchFromGitHub {
8     owner = "phpstan";
9     repo = "phpstan-src";
10     rev = finalAttrs.version;
11     hash = "sha256-ZEQ6oP6zyi0cL69J9ck8gAht5taPkzH+iW5ALC4saAQ=";
12   };
14   vendorHash = "sha256-Qp/eMhcKK32N1EMgeIspBDs28Oofwn6n2bEFKqvSx9E=";
15   composerStrictValidation = false;
17   meta = {
18     changelog = "https://github.com/phpstan/phpstan/releases/tag/${finalAttrs.version}";
19     description = "PHP Static Analysis Tool";
20     homepage = "https://github.com/phpstan/phpstan";
21     longDescription = ''
22       PHPStan focuses on finding errors in your code without actually
23       running it. It catches whole classes of bugs even before you write
24       tests for the code. It moves PHP closer to compiled languages in the
25       sense that the correctness of each line of the code can be checked
26       before you run the actual line.
27     '';
28     license = lib.licenses.mit;
29     mainProgram = "phpstan";
30     maintainers = lib.teams.php.members;
31   };