hclfmt: renew (#428002)

This commit is contained in:
Aleksana
2025-07-25 10:25:54 +08:00
committed by GitHub
+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 ];
};
}
})