2020-03-27 00:33:21 -07:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-08-06 10:48:58 -07:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "terracognita";
|
2020-07-31 04:09:07 -07:00
|
|
|
version = "0.5.1";
|
2019-08-06 10:48:58 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cycloidio";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-07-31 04:09:07 -07:00
|
|
|
sha256 = "1z0vf3x46w3glwvq185hgmfkg7xfq31c7d3yjhh8qkwbhkx4bga4";
|
2019-08-06 10:48:58 -07:00
|
|
|
};
|
|
|
|
|
2020-06-30 09:51:53 -07:00
|
|
|
vendorSha256 = "1dmv16v1c9sydbl1g69pgwvrhznd0a133giwrcbqi4cyg1fdb3sr";
|
2020-01-04 01:20:00 -08:00
|
|
|
|
2020-08-03 17:26:27 -07:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-01-04 01:20:00 -08:00
|
|
|
subPackages = [ "." ];
|
2019-10-30 20:00:00 -07:00
|
|
|
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X github.com/cycloidio/terracognita/cmd.Version=${version}" ];
|
2019-08-06 10:48:58 -07:00
|
|
|
|
2020-03-27 00:33:21 -07:00
|
|
|
meta = with lib; {
|
2019-08-06 10:48:58 -07:00
|
|
|
description = "Reads from existing Cloud Providers (reverse Terraform) and generates your infrastructure as code on Terraform configuration";
|
|
|
|
homepage = "https://github.com/cycloidio/terracognita";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
2020-07-30 20:58:04 -07:00
|
|
|
}
|