2024-02-29 20:09:43 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, php
|
|
|
|
}:
|
2023-01-11 07:51:40 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
php.buildComposerProject (finalAttrs: {
|
2020-10-16 20:44:37 +00:00
|
|
|
pname = "psalm";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "5.22.2";
|
2020-10-16 20:44:37 +00:00
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vimeo";
|
|
|
|
repo = "psalm";
|
2023-10-09 19:29:22 +00:00
|
|
|
rev = finalAttrs.version;
|
2024-02-29 20:09:43 +00:00
|
|
|
hash = "sha256-M8Ds3PQGphK8lQciWNdxWkMN35q8vdaNTWTrP1WXTeg=";
|
2020-10-16 20:44:37 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
# Missing `composer.lock` from the repository.
|
2024-02-29 20:09:43 +00:00
|
|
|
# Issue open at https://github.com/vimeo/psalm/issues/10446
|
2023-10-09 19:29:22 +00:00
|
|
|
composerLock = ./composer.lock;
|
2024-02-29 20:09:43 +00:00
|
|
|
vendorHash = "sha256-URPyV1V/8BP8fbJqyYLf+XKG786hY2BbAzUphzPyPCs=";
|
2021-08-05 21:33:18 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
meta = {
|
|
|
|
changelog = "https://github.com/vimeo/psalm/releases/tag/${finalAttrs.version}";
|
2020-10-16 20:44:37 +00:00
|
|
|
description = "A static analysis tool for finding errors in PHP applications";
|
|
|
|
homepage = "https://github.com/vimeo/psalm";
|
2023-10-09 19:29:22 +00:00
|
|
|
license = lib.licenses.mit;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "psalm";
|
2023-10-09 19:29:22 +00:00
|
|
|
maintainers = lib.teams.php.members;
|
2020-10-16 20:44:37 +00:00
|
|
|
};
|
2023-10-09 19:29:22 +00:00
|
|
|
})
|