nixpkgs/pkgs/applications/misc/hcl2json/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
580 B
Nix
Raw Normal View History

2022-03-03 04:43:54 +03:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "hcl2json";
2024-07-31 09:33:43 +03:00
version = "0.6.4";
2022-03-03 04:43:54 +03:00
src = fetchFromGitHub {
owner = "tmccombs";
repo = pname;
rev = "v${version}";
2024-07-31 09:33:43 +03:00
sha256 = "sha256-aYsE4Tmi2h+XiLZH0faoB17UA7xHht8bec5Kud+NLIk=";
2022-03-03 04:43:54 +03:00
};
2024-07-31 09:33:43 +03:00
vendorHash = "sha256-Rjpru0SfGm9hdMQwvk8yM/E65YFB0NicaJ7a56/uwLE=";
2022-03-03 04:43:54 +03:00
subPackages = [ "." ];
meta = with lib; {
description = "Convert hcl2 to json";
homepage = "https://github.com/tmccombs/hcl2json";
license = licenses.asl20;
maintainers = [ ];
2024-02-11 05:19:15 +03:00
mainProgram = "hcl2json";
2022-03-03 04:43:54 +03:00
};
}