depot/third_party/nixpkgs/pkgs/development/php-packages/psalm/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

31 lines
841 B
Nix

{
lib,
fetchFromGitHub,
php,
}:
php.buildComposerProject2 (finalAttrs: {
pname = "psalm";
version = "5.25.0";
src = fetchFromGitHub {
owner = "vimeo";
repo = "psalm";
rev = finalAttrs.version;
hash = "sha256-ecORCwTnTKzy/pgfODu9W9I/5xL+8Fo4OgZ5LsYDYLQ=";
};
# Missing `composer.lock` from the repository.
# Issue open at https://github.com/vimeo/psalm/issues/10446
composerLock = ./composer.lock;
vendorHash = "sha256-8SsGwKeE4b9sRD2STRMjWW50UVy9x8HZsZhT0sIC/Cg=";
meta = {
changelog = "https://github.com/vimeo/psalm/releases/tag/${finalAttrs.version}";
description = "Static analysis tool for finding errors in PHP applications";
homepage = "https://github.com/vimeo/psalm";
license = lib.licenses.mit;
mainProgram = "psalm";
maintainers = lib.teams.php.members;
};
})