nixpkgs/pkgs/development/php-packages/phpmd/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
794 B
Nix
Raw Permalink Normal View History

{
lib,
fetchFromGitHub,
php,
}:
2022-12-24 18:35:13 +00:00
php.buildComposerProject (finalAttrs: {
pname = "phpmd";
2023-12-17 19:10:55 +00:00
version = "2.15.0";
src = fetchFromGitHub {
owner = "phpmd";
repo = "phpmd";
rev = finalAttrs.version;
hash = "sha256-nTuJGzOZnkqrfE9R9Vujz/zGJRLlj8+yRZmmnxWrieQ=";
};
# Missing `composer.lock` from the repository.
# Issue open at https://github.com/phpmd/phpmd/issues/1056
composerLock = ./composer.lock;
vendorHash = "sha256-vr0wQkfhXHLEz8Q5nEq5Bocu1U1nDhXUlaHBsysvuRQ=";
2021-08-01 21:56:33 +00:00
meta = {
changelog = "https://github.com/phpmd/phpmd/releases/tag/${finalAttrs.version}";
description = "PHP code quality analyzer";
homepage = "https://phpmd.org/";
license = lib.licenses.bsd3;
mainProgram = "phpmd";
maintainers = lib.teams.php.members;
};
})