2022-03-03 01:43:54 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "hcl2json";
|
2024-01-23 08:26:40 +00:00
|
|
|
version = "0.6.1";
|
2022-03-03 01:43:54 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tmccombs";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-01-23 08:26:40 +00:00
|
|
|
sha256 = "sha256-6DCxpnTizTg3uhHIIze2IyA8IKcjIv44XoId7exdQZI=";
|
2022-03-03 01:43:54 +00:00
|
|
|
};
|
|
|
|
|
2024-01-23 08:26:40 +00:00
|
|
|
vendorHash = "sha256-Ay6Sgdm7X+NxtLkFM0AT8aoWLdASjUhcidRUiV2K+us=";
|
2022-03-03 01:43:54 +00:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Convert hcl2 to json";
|
|
|
|
homepage = "https://github.com/tmccombs/hcl2json";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ jonringer ];
|
2024-02-11 02:19:15 +00:00
|
|
|
mainProgram = "hcl2json";
|
2022-03-03 01:43:54 +00:00
|
|
|
};
|
|
|
|
}
|