n98-magerun: switch to buildComposerProject2 and tag (#377265)

This commit is contained in:
Piotr Kwiecinski
2025-01-27 11:55:16 +01:00
committed by GitHub
parent f3177e064d
commit 9aa6e4e059
+3 -3
View File
@@ -5,18 +5,18 @@
nix-update-script,
}:
php81.buildComposerProject (finalAttrs: {
php81.buildComposerProject2 (finalAttrs: {
pname = "n98-magerun";
version = "2.3.0";
src = fetchFromGitHub {
owner = "netz98";
repo = "n98-magerun";
rev = finalAttrs.version;
tag = finalAttrs.version;
hash = "sha256-/RffdYgl2cs8mlq4vHtzUZ6j0viV8Ot/cB/cB1dstFM=";
};
vendorHash = "sha256-n608AY6AQdVuN3hfVQk02vJQ6hl/0+4LVBOsBL5o3+8=";
vendorHash = "sha256-huYLbqJaxeSST2WGcSdk4gR3d3KWSkIK/6tzVpCw0oQ=";
passthru.updateScript = nix-update-script {
# Excludes 1.x versions from the Github tags list