066db11215
This reverts commit4e6bf03504
, reversing changes made toafd997aab6
. Instead we propagate those frameworks from the compiler again
26 lines
783 B
Nix
26 lines
783 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "terracognita";
|
|
version = "0.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cycloidio";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1d5yi2jxmk04wcz8rjwa5kz9525j8s90d4rj2d4cbgd3lbbk45qq";
|
|
};
|
|
|
|
modSha256 = "0xlhp8pa5g6an10m56g237pixc4h6ay89hkp1ijdz45iyfn9fk91";
|
|
|
|
subPackages = [ "." ];
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X github.com/cycloidio/terracognita/cmd.Version=${version}" ];
|
|
|
|
meta = with lib; {
|
|
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 ];
|
|
};
|
|
}
|