mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-08 14:03:29 +00:00
5a48253975
upstream decided to no longer provide the composer.lock in their release artifacts, so use fetchgit to take it from there
28 lines
957 B
Nix
28 lines
957 B
Nix
{ lib
|
|
, fetchgit
|
|
, php
|
|
}:
|
|
|
|
php.buildComposerProject2 (finalAttrs: {
|
|
pname = "composer-require-checker";
|
|
version = "4.13.0";
|
|
|
|
# Upstream no longer provides the composer.lock in their release artifact
|
|
src = fetchgit {
|
|
url = "https://github.com/maglnet/ComposerRequireChecker";
|
|
rev = "refs/tags/${finalAttrs.version}";
|
|
hash = "sha256-xq8W5SXwtmJ3uu5g26/rxL02jqBuxvEEQpwazPdCE5Y=";
|
|
};
|
|
|
|
vendorHash = "sha256-GGT/9kBpd7PU/pMJFWw1rrEW2QFUlrp3lljUCyo+/bw=";
|
|
|
|
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/";
|
|
changelog = "https://github.com/maglnet/ComposerRequireChecker/releases/tag/${finalAttrs.version}";
|
|
license = with lib.licenses; [ mit ];
|
|
maintainers = with lib.maintainers; [ drupol ];
|
|
mainProgram = "composer-require-checker";
|
|
};
|
|
})
|