dbmate: migrate to finalAttrs

This commit is contained in:
Sarah Clark
2026-01-18 13:33:20 -08:00
parent ede3b08382
commit 63e0ded9ae
+4 -4
View File
@@ -7,14 +7,14 @@
sqlite,
}:
buildGoModule rec {
buildGoModule (finalAttrs: {
pname = "dbmate";
version = "2.29.3";
src = fetchFromGitHub {
owner = "amacneil";
repo = "dbmate";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-H/HBDM2uBRrlgetU2S9ZS1c6//Le+DlrYlnnJpTs3XM=";
};
@@ -30,7 +30,7 @@ buildGoModule rec {
description = "Database migration tool";
mainProgram = "dbmate";
homepage = "https://github.com/amacneil/dbmate";
changelog = "https://github.com/amacneil/dbmate/releases/tag/v${version}";
changelog = "https://github.com/amacneil/dbmate/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
};
}
})