30 lines
735 B
Nix
30 lines
735 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "terraformer";
|
|
version = "0.8.30";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "GoogleCloudPlatform";
|
|
repo = "terraformer";
|
|
rev = version;
|
|
sha256 = "sha256-xbZm0FOa/W6/qXMnJHuGgJhgu2NWtKrMoP0Ttd+hhdw=";
|
|
};
|
|
|
|
vendorHash = "sha256-TsJ8r0be38680sCP8ot3NKhW9ZT03eHrF/1UpYQuDWo=";
|
|
|
|
subPackages = [ "." ];
|
|
|
|
meta = with lib; {
|
|
description = "CLI tool to generate terraform files from existing infrastructure (reverse Terraform). Infrastructure to Code";
|
|
mainProgram = "terraformer";
|
|
homepage = "https://github.com/GoogleCloudPlatform/terraformer";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ ryan4yin ];
|
|
};
|
|
}
|