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
34 lines
791 B
Nix
34 lines
791 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
php83,
|
|
versionCheckHook,
|
|
}:
|
|
|
|
php83.buildComposerProject2 (finalAttrs: {
|
|
pname = "n98-magerun2";
|
|
version = "9.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "netz98";
|
|
repo = "n98-magerun2";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-kjT72pLKuN166Edm8+8vUIfhFdMnZkeTagl0ECL20b8=";
|
|
};
|
|
|
|
vendorHash = "sha256-0Bk01aU3vicwk9swkv+8VZxcPdaEMOOtp9niNfPfQyA=";
|
|
|
|
nativeInstallCheckInputs = [ versionCheckHook ];
|
|
versionCheckProgramArg = "--version";
|
|
doInstallCheck = true;
|
|
|
|
meta = {
|
|
changelog = "https://magerun.net/category/magerun/";
|
|
description = "Swiss army knife for Magento2 developers";
|
|
homepage = "https://magerun.net/";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "n98-magerun2";
|
|
teams = [ lib.teams.php ];
|
|
};
|
|
})
|