2020-03-27 07:33:21 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-08-06 17:48:58 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "terracognita";
|
2023-05-27 02:46:39 +00:00
|
|
|
version = "0.8.4";
|
2019-08-06 17:48:58 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cycloidio";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-05-27 02:46:39 +00:00
|
|
|
hash = "sha256-pPY8y+pQdk9/F7dnUBz/y4lvcR1k/EClywcZATArZVA=";
|
2019-08-06 17:48:58 +00:00
|
|
|
};
|
|
|
|
|
2023-05-27 02:46:39 +00:00
|
|
|
vendorHash = "sha256-ApnJH0uIClXbfXK+k4t9Tcayc2mfndoG9iMqZY3iWys=";
|
2020-01-04 09:20:00 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-01-04 09:20:00 +00:00
|
|
|
subPackages = [ "." ];
|
2019-10-31 03:00:00 +00:00
|
|
|
|
2021-08-26 06:45:51 +00:00
|
|
|
ldflags = [ "-s" "-w" "-X github.com/cycloidio/terracognita/cmd.Version=${version}" ];
|
2019-08-06 17:48:58 +00:00
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2019-08-06 17:48:58 +00:00
|
|
|
description = "Reads from existing Cloud Providers (reverse Terraform) and generates your infrastructure as code on Terraform configuration";
|
|
|
|
homepage = "https://github.com/cycloidio/terracognita";
|
2021-07-19 00:00:00 +00:00
|
|
|
changelog = "https://github.com/cycloidio/terracognita/raw/v${version}/CHANGELOG.md";
|
2019-08-06 17:48:58 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
2020-07-31 03:58:04 +00:00
|
|
|
}
|