Merge pull request #275646 from drupol/init/ComposerRequireChecker
composer-require-checker: init at 4.8.0
This commit is contained in:
commit
38bbf09b10
1 changed files with 28 additions and 0 deletions
28
pkgs/by-name/co/composer-require-checker/package.nix
Normal file
28
pkgs/by-name/co/composer-require-checker/package.nix
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, php
|
||||||
|
}:
|
||||||
|
|
||||||
|
php.buildComposerProject (finalAttrs: {
|
||||||
|
pname = "composer-require-checker";
|
||||||
|
version = "4.8.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "maglnet";
|
||||||
|
repo = "ComposerRequireChecker";
|
||||||
|
rev = finalAttrs.version;
|
||||||
|
hash = "sha256-qCHUNaPunCPuWax/YUbYXaVh1JlJEwYvG/NmaSc1VpA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-B5w5n2S/mTF7vpsLuHtf2DGR5aPBfO9QGmodYGXE+Cg=";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A 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/";
|
||||||
|
changelog = "https://github.com/maglnet/ComposerRequireChecker/releases/tag/${finalAttrs.version}";
|
||||||
|
license = with lib.licenses; [ mit ];
|
||||||
|
maintainers = with lib.maintainers; [ drupol ];
|
||||||
|
mainProgram = "composer-require-checker";
|
||||||
|
};
|
||||||
|
})
|
Loading…
Reference in a new issue