2020-08-24 05:20:00 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "terraformer";
|
2020-11-12 07:37:06 +00:00
|
|
|
version = "0.8.9";
|
2020-08-24 05:20:00 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "GoogleCloudPlatform";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-11-12 07:37:06 +00:00
|
|
|
sha256 = "11j7yra0qbjadg4cb57qbdxf0di7crfv0aqam6gc1zng3fzlh4w9";
|
2020-08-24 05:20:00 +01:00
|
|
|
};
|
|
|
|
|
2020-11-12 07:37:06 +00:00
|
|
|
vendorSha256 = "1lsg5svdnmqiradpr4h2420y5jmml3af8pp0np1735n3wh1q1blh";
|
2020-08-24 05:20:00 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|