pdepend: versionCheckHook

This commit is contained in:
Piotr Kwiecinski
2025-01-26 22:54:58 +01:00
parent bb32d6c49e
commit 7cdbe945e4
+5
View File
@@ -2,6 +2,7 @@
php,
fetchFromGitHub,
lib,
versionCheckHook,
}:
php.buildComposerProject2 (finalAttrs: {
@@ -18,6 +19,10 @@ php.buildComposerProject2 (finalAttrs: {
composerLock = ./composer.lock;
vendorHash = "sha256-szKVZhWcd8p4307irNqgSAK2+hl8AW+gCPyf0EEco8A=";
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
versionCheckProgramArg = "--version";
meta = {
changelog = "https://github.com/pdepend/pdepend/releases/tag/${finalAttrs.version}";
description = "Adaptation of JDepend for PHP";