2020-03-27 08:33:21 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-08-06 19:48:58 +02:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "terracognita";
|
2021-04-05 08:08:23 +02:00
|
|
|
version = "0.6.3";
|
2019-08-06 19:48:58 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cycloidio";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-04-05 08:08:23 +02:00
|
|
|
sha256 = "sha256-rRSBPnvv4941IUGN/6+8/hzgYDqgPErNkd7tFrslPiQ=";
|
2019-08-06 19:48:58 +02:00
|
|
|
};
|
|
|
|
|
2021-03-20 00:04:09 +01:00
|
|
|
vendorSha256 = "sha256-sN9GTcG5cZxvMaLqNjY2jfLkf8a3lugM2aV3bBdT5Ww=";
|
2020-01-04 10:20:00 +01:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-01-04 10:20:00 +01:00
|
|
|
subPackages = [ "." ];
|
2019-10-31 04:00:00 +01:00
|
|
|
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X github.com/cycloidio/terracognita/cmd.Version=${version}" ];
|
2019-08-06 19:48:58 +02:00
|
|
|
|
2020-03-27 08:33:21 +01:00
|
|
|
meta = with lib; {
|
2019-08-06 19:48:58 +02: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 05:20:00 +01:00
|
|
|
changelog = "https://github.com/cycloidio/terracognita/blob/v${version}/CHANGELOG.md";
|
2019-08-06 19:48:58 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
2020-07-31 05:58:04 +02:00
|
|
|
}
|