hclfmt: renew

Signed-off-by: Paul Meyer <katexochen0@gmail.com>
This commit is contained in:
Paul Meyer
2025-07-24 14:30:40 +02:00
parent adb9c0a5c8
commit 555fee28f1
+7 -6
View File
@@ -4,14 +4,14 @@
fetchFromGitHub,
}:
buildGoModule rec {
buildGoModule (finalAttrs: {
pname = "hclfmt";
version = "2.24.0";
src = fetchFromGitHub {
owner = "hashicorp";
repo = "hcl";
rev = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-YWGd2rQXJ4AX8nhByYRdp+91PJeHrdCpxvKQntxzRhY=";
};
@@ -21,11 +21,12 @@ buildGoModule rec {
# hclfmt.
subPackages = [ "cmd/hclfmt" ];
meta = with lib; {
meta = {
description = "Code formatter for the Hashicorp Configuration Language (HCL) format";
homepage = "https://github.com/hashicorp/hcl/tree/main/cmd/hclfmt";
license = licenses.mpl20;
changelog = "https://github.com/hashicorp/hcl/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mpl20;
mainProgram = "hclfmt";
maintainers = with maintainers; [ zimbatm ];
maintainers = with lib.maintainers; [ zimbatm ];
};
}
})