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