2023-10-09 19:29:22 +00:00
|
|
|
{ lib, fetchgit, 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";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "5.15.0";
|
2020-10-16 20:44:37 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/vimeo/psalm.git";
|
|
|
|
rev = finalAttrs.version;
|
|
|
|
hash = "sha256-rRExT82+IwgVo7pL3rrTjW/qj/MJf4m4L3PywaeSHYU=";
|
2020-10-16 20:44:37 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
# TODO: Open a PR against https://github.com/vimeo/psalm
|
|
|
|
# Missing `composer.lock` from the repository.
|
|
|
|
composerLock = ./composer.lock;
|
|
|
|
vendorHash = "sha256-Vho1ri/Qm2SYeXB9ZoXvH1vB/eSBwHnAT/pI4jjUYhU=";
|
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;
|
|
|
|
maintainers = lib.teams.php.members;
|
2020-10-16 20:44:37 +00:00
|
|
|
};
|
2023-10-09 19:29:22 +00:00
|
|
|
})
|