dbmate: migrate to finalAttrs
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user