mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
composer-require-checker: add versionCheckHook
This commit is contained in:
parent
7303a30fa2
commit
372f7b72f6
1 changed files with 5 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
lib,
|
||||
fetchgit,
|
||||
php,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
php.buildComposerProject2 (finalAttrs: {
|
||||
|
@ -17,6 +18,10 @@ php.buildComposerProject2 (finalAttrs: {
|
|||
|
||||
vendorHash = "sha256-bNeQEfwXly3LFuEKeSK6J6pRfQF6TNwUqu3SdTswmFI=";
|
||||
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
versionCheckProgramArg = "--version";
|
||||
|
||||
meta = {
|
||||
description = "CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependencies";
|
||||
homepage = "https://github.com/maglnet/ComposerRequireChecker/";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue