nixpkgs-suyu/pkgs/development/tools/misc/terraformer/default.nix
2021-08-22 05:19:58 +00:00

24 lines
681 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "terraformer";
version = "0.8.15";
src = fetchFromGitHub {
owner = "GoogleCloudPlatform";
repo = pname;
rev = version;
sha256 = "sha256-d8DOUvUj5hdc1kcd0vgMufVIOJqV0eG4sXQIX597L/w=";
};
vendorSha256 = "sha256-VQ3yZQqpq9KbAkBDnQAfOE+axlT0GhvUpMIjb59PYT0=";
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 ];
};
}