25 lines
682 B
Nix
25 lines
682 B
Nix
|
{ lib, buildGoModule, fetchFromGitHub }:
|
||
|
|
||
|
buildGoModule rec {
|
||
|
pname = "terraformer";
|
||
|
version = "0.8.8";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "GoogleCloudPlatform";
|
||
|
repo = pname;
|
||
|
rev = version;
|
||
|
sha256 = "1lzf30vpa0blbkz4ngnhrn3hpbqflqd4sni4bly9yqh4fnc44nvi";
|
||
|
};
|
||
|
|
||
|
vendorSha256 = "087448wkaw6jxv9d26hck4w3vdh06vcgywna6ydkqvxr0hp011b6";
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|