nixpkgs/pkgs/development/tools/misc/terraformer/default.nix

25 lines
683 B
Nix
Raw Normal View History

2020-08-24 05:20:00 +01:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "terraformer";
2020-12-05 03:21:20 +00:00
version = "0.8.10";
2020-08-24 05:20:00 +01:00
src = fetchFromGitHub {
owner = "GoogleCloudPlatform";
repo = pname;
rev = version;
2020-12-05 03:21:20 +00:00
sha256 = "005i66d2gkyixqh9sk452la7z86d5x9q3njngjf4z9slcbpgk7bl";
2020-08-24 05:20:00 +01:00
};
2020-12-05 03:21:20 +00:00
vendorSha256 = "02i1q11nivdlkhf9chpi03p8jpa0fx9wbf79j834qv4fqy7jqf6l";
2020-08-24 05:20:00 +01:00
subPackages = [ "." ];
meta = with lib; {
description = "CLI tool to generate terraform files from existing infrastructure (reverse Terraform). Infrastructure to Code";
homepage = "https://github.com/GoogleCloudPlatform/terraformer";
license = licenses.asl20;
maintainers = [ maintainers.marsam ];
};
}