Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
38 lines
932 B
Nix
38 lines
932 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
php,
|
|
versionCheckHook,
|
|
}:
|
|
|
|
php.buildComposerProject2 (finalAttrs: {
|
|
pname = "phpinsights";
|
|
version = "2.12.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nunomaduro";
|
|
repo = "phpinsights";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-XuvwO/MkGBMWo2hjDPDDYS3JmfWJH75mbNn6oKsMWps=";
|
|
};
|
|
|
|
composerLock = ./composer.lock;
|
|
vendorHash = "sha256-CwIfRmwJREz24Qj6J2PKQp+ix+/ZXo1oamcHc1fPUoc=";
|
|
|
|
nativeInstallCheckInputs = [
|
|
versionCheckHook
|
|
];
|
|
versionCheckProgramArg = "--version";
|
|
doInstallCheck = true;
|
|
|
|
meta = {
|
|
broken = lib.versionOlder php.version "8.2";
|
|
changelog = "https://github.com/nunomaduro/phpinsights/releases/tag/v${finalAttrs.version}";
|
|
description = "Instant PHP quality checks from your console";
|
|
homepage = "https://phpinsights.com/";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "phpinsights";
|
|
teams = [ lib.teams.php ];
|
|
};
|
|
})
|