depot/third_party/nixpkgs/pkgs/development/php-packages/psalm/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

25 lines
798 B
Nix

{ lib, fetchgit, php }:
php.buildComposerProject (finalAttrs: {
pname = "psalm";
version = "5.15.0";
src = fetchgit {
url = "https://github.com/vimeo/psalm.git";
rev = finalAttrs.version;
hash = "sha256-rRExT82+IwgVo7pL3rrTjW/qj/MJf4m4L3PywaeSHYU=";
};
# 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=";
meta = {
changelog = "https://github.com/vimeo/psalm/releases/tag/${finalAttrs.version}";
description = "A static analysis tool for finding errors in PHP applications";
homepage = "https://github.com/vimeo/psalm";
license = lib.licenses.mit;
maintainers = lib.teams.php.members;
};
})