2020-08-24 04:20:00 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "terraformer";
|
2022-09-22 05:18:03 +00:00
|
|
|
version = "0.8.22";
|
2020-08-24 04:20:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "GoogleCloudPlatform";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-09-22 05:18:03 +00:00
|
|
|
sha256 = "sha256-TuzQ9qIpioKK4tc1J9Spxt52716Z3yTEufyaRDL57gI=";
|
2020-08-24 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
2022-09-22 05:18:03 +00:00
|
|
|
vendorSha256 = "sha256-fcCvwjqSTeFo0AwTVwWTdygvIPf0EUnZkWqNrQ6eugI=";
|
2020-08-24 04:20:00 +00:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "CLI tool to generate terraform files from existing infrastructure (reverse Terraform). Infrastructure to Code";
|
|
|
|
homepage = "https://github.com/GoogleCloudPlatform/terraformer";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|