1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 02:46:38 +00:00
nixpkgs/pkgs/development/tools/misc/terracognita/default.nix

30 lines
895 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-08-06 18:48:58 +01:00
buildGoModule rec {
pname = "terracognita";
2021-04-05 07:08:23 +01:00
version = "0.6.3";
2019-08-06 18:48:58 +01:00
src = fetchFromGitHub {
owner = "cycloidio";
repo = pname;
rev = "v${version}";
2021-04-05 07:08:23 +01:00
sha256 = "sha256-rRSBPnvv4941IUGN/6+8/hzgYDqgPErNkd7tFrslPiQ=";
2019-08-06 18:48:58 +01:00
};
2021-03-19 23:04:09 +00:00
vendorSha256 = "sha256-sN9GTcG5cZxvMaLqNjY2jfLkf8a3lugM2aV3bBdT5Ww=";
doCheck = false;
subPackages = [ "." ];
buildFlagsArray = [ "-ldflags=-s -w -X github.com/cycloidio/terracognita/cmd.Version=${version}" ];
2019-08-06 18:48:58 +01: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";
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 ];
};
}