zvm: 0.8.22 -> 0.8.27

Variable `meta.VERSION` that outputs the version to binary is lagging
behind at `v0.8.25` instead of `v0.8.27` (this has since been corrected
on `master` in  4bac2bd7e9)
postPatch added to satisfy `versionCheckHook`
This commit is contained in:
KangaZero
2026-08-01 23:06:26 +09:00
parent 52873270f6
commit 907cf34594

View File

@@ -8,17 +8,22 @@
buildGoModule (finalAttrs: {
pname = "zvm";
version = "0.8.22";
version = "0.8.27";
src = fetchFromGitHub {
owner = "tristanisham";
repo = "zvm";
tag = "v${finalAttrs.version}";
hash = "sha256-uKn4ysaNuvWpV4fhrpm7pdS61pQJTYr6WfIhBzTfNT8=";
hash = "sha256-NDkvTghdqabfzzXSyxYHZj67u+upY0WfLOAO5DWAZ3s=";
};
vendorHash = "sha256-kJrCUxzbpyxEUF9UQeAI28tWKA+T7zT1DBI1wf3pjjM=";
postPatch = ''
substituteInPlace cli/meta/version.go \
--replace-fail 'VERSION = "v0.8.25"' 'VERSION = "v${finalAttrs.version}"'
'';
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];