mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
2bad3beca7
hcl2json: 0.6.3 -> 0.6.4
28 lines
580 B
Nix
28 lines
580 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "hcl2json";
|
|
version = "0.6.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tmccombs";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-aYsE4Tmi2h+XiLZH0faoB17UA7xHht8bec5Kud+NLIk=";
|
|
};
|
|
|
|
vendorHash = "sha256-Rjpru0SfGm9hdMQwvk8yM/E65YFB0NicaJ7a56/uwLE=";
|
|
|
|
subPackages = [ "." ];
|
|
|
|
meta = with lib; {
|
|
description = "Convert hcl2 to json";
|
|
homepage = "https://github.com/tmccombs/hcl2json";
|
|
license = licenses.asl20;
|
|
maintainers = [ ];
|
|
mainProgram = "hcl2json";
|
|
};
|
|
}
|