at 24.05-pre 25 lines 798 B view raw
1{ lib, fetchgit, php }: 2 3php.buildComposerProject (finalAttrs: { 4 pname = "psalm"; 5 version = "5.15.0"; 6 7 src = fetchgit { 8 url = "https://github.com/vimeo/psalm.git"; 9 rev = finalAttrs.version; 10 hash = "sha256-rRExT82+IwgVo7pL3rrTjW/qj/MJf4m4L3PywaeSHYU="; 11 }; 12 13 # TODO: Open a PR against https://github.com/vimeo/psalm 14 # Missing `composer.lock` from the repository. 15 composerLock = ./composer.lock; 16 vendorHash = "sha256-Vho1ri/Qm2SYeXB9ZoXvH1vB/eSBwHnAT/pI4jjUYhU="; 17 18 meta = { 19 changelog = "https://github.com/vimeo/psalm/releases/tag/${finalAttrs.version}"; 20 description = "A static analysis tool for finding errors in PHP applications"; 21 homepage = "https://github.com/vimeo/psalm"; 22 license = lib.licenses.mit; 23 maintainers = lib.teams.php.members; 24 }; 25})