2022-03-05 16:20:37 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "hcl2json";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.6.3";
|
2022-03-05 16:20:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tmccombs";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
sha256 = "sha256-RBzx6TxkR6GwMGHIpkJeswZ3zV4hRf38rTGUO6u2OI4=";
|
2022-03-05 16:20:37 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
vendorHash = "sha256-G/2bSFCXbph0bVjmWmcFgv4i/pCOQHhYxsVRVkpHPo4=";
|
2022-03-05 16:20:37 +00:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Convert hcl2 to json";
|
|
|
|
homepage = "https://github.com/tmccombs/hcl2json";
|
|
|
|
license = licenses.asl20;
|
2024-07-01 15:47:52 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "hcl2json";
|
2022-03-05 16:20:37 +00:00
|
|
|
};
|
|
|
|
}
|