5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
30 lines
1,007 B
Nix
30 lines
1,007 B
Nix
{ fetchFromGitHub, lib, php }:
|
|
|
|
php.buildComposerProject (finalAttrs: {
|
|
pname = "phpstan";
|
|
version = "1.10.37";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "phpstan";
|
|
repo = "phpstan-src";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-y55bfwE3H/oDCwDq3wrClyX8dhk0p6vEl/CMhqN6LkA=";
|
|
};
|
|
|
|
vendorHash = "sha256-hjCfrmpn2rYgApenZkHX8fXqPXukh7BVKENkvwIk8Dk=";
|
|
|
|
meta = {
|
|
changelog = "https://github.com/phpstan/phpstan/releases/tag/${finalAttrs.version}";
|
|
description = "PHP Static Analysis Tool";
|
|
longDescription = ''
|
|
PHPStan focuses on finding errors in your code without actually
|
|
running it. It catches whole classes of bugs even before you write
|
|
tests for the code. It moves PHP closer to compiled languages in the
|
|
sense that the correctness of each line of the code can be checked
|
|
before you run the actual line.
|
|
'';
|
|
license = lib.licenses.mit;
|
|
homepage = "https://github.com/phpstan/phpstan";
|
|
maintainers = lib.teams.php.members;
|
|
};
|
|
})
|