depot/third_party/nixpkgs/pkgs/applications/misc/hcl2json/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

28 lines
608 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "hcl2json";
version = "0.6.1";
src = fetchFromGitHub {
owner = "tmccombs";
repo = pname;
rev = "v${version}";
sha256 = "sha256-6DCxpnTizTg3uhHIIze2IyA8IKcjIv44XoId7exdQZI=";
};
vendorHash = "sha256-Ay6Sgdm7X+NxtLkFM0AT8aoWLdASjUhcidRUiV2K+us=";
subPackages = [ "." ];
meta = with lib; {
description = "Convert hcl2 to json";
homepage = "https://github.com/tmccombs/hcl2json";
license = licenses.asl20;
maintainers = with maintainers; [ jonringer ];
mainProgram = "hcl2json";
};
}