lol

hclfmt: renew

Signed-off-by: Paul Meyer <katexochen0@gmail.com>

+7 -6
+7 -6
pkgs/by-name/hc/hclfmt/package.nix
··· 4 4 fetchFromGitHub, 5 5 }: 6 6 7 - buildGoModule rec { 7 + buildGoModule (finalAttrs: { 8 8 pname = "hclfmt"; 9 9 version = "2.24.0"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "hashicorp"; 13 13 repo = "hcl"; 14 - rev = "v${version}"; 14 + tag = "v${finalAttrs.version}"; 15 15 hash = "sha256-YWGd2rQXJ4AX8nhByYRdp+91PJeHrdCpxvKQntxzRhY="; 16 16 }; 17 17 ··· 21 21 # hclfmt. 22 22 subPackages = [ "cmd/hclfmt" ]; 23 23 24 - meta = with lib; { 24 + meta = { 25 25 description = "Code formatter for the Hashicorp Configuration Language (HCL) format"; 26 26 homepage = "https://github.com/hashicorp/hcl/tree/main/cmd/hclfmt"; 27 - license = licenses.mpl20; 27 + changelog = "https://github.com/hashicorp/hcl/releases/tag/v${finalAttrs.version}"; 28 + license = lib.licenses.mpl20; 28 29 mainProgram = "hclfmt"; 29 - maintainers = with maintainers; [ zimbatm ]; 30 + maintainers = with lib.maintainers; [ zimbatm ]; 30 31 }; 31 - } 32 + })