2023-12-20 13:39:33 +00:00
|
|
|
{ lib
|
2024-10-28 14:48:52 +00:00
|
|
|
, fetchgit
|
2023-12-20 13:39:33 +00:00
|
|
|
, php
|
|
|
|
}:
|
|
|
|
|
2024-10-28 14:48:52 +00:00
|
|
|
php.buildComposerProject2 (finalAttrs: {
|
2023-12-20 13:39:33 +00:00
|
|
|
pname = "composer-require-checker";
|
2024-11-14 22:03:11 +00:00
|
|
|
version = "4.14.0";
|
2023-12-20 13:39:33 +00:00
|
|
|
|
2024-10-28 14:48:52 +00:00
|
|
|
# Upstream no longer provides the composer.lock in their release artifact
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/maglnet/ComposerRequireChecker";
|
|
|
|
rev = "refs/tags/${finalAttrs.version}";
|
2024-11-14 22:03:11 +00:00
|
|
|
hash = "sha256-dBUDkgbuUBKA3MKB4fxwHhDoT9wYRl49m/2ZCvIcNMM=";
|
2023-12-20 13:39:33 +00:00
|
|
|
};
|
|
|
|
|
2024-11-14 22:03:11 +00:00
|
|
|
vendorHash = "sha256-JNdSek3f3WEtJQHjSV+HF6b8l9eZvbI0n4g3UUUVja4=";
|
2023-12-20 13:39:33 +00:00
|
|
|
|
|
|
|
meta = {
|
2024-06-07 08:46:46 +01:00
|
|
|
description = "CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependencies";
|
2023-12-20 13:39:33 +00:00
|
|
|
homepage = "https://github.com/maglnet/ComposerRequireChecker/";
|
|
|
|
changelog = "https://github.com/maglnet/ComposerRequireChecker/releases/tag/${finalAttrs.version}";
|
|
|
|
license = with lib.licenses; [ mit ];
|
|
|
|
maintainers = with lib.maintainers; [ drupol ];
|
|
|
|
mainProgram = "composer-require-checker";
|
|
|
|
};
|
|
|
|
})
|