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

25 lines
681 B
Nix
Raw Normal View History

2020-08-24 04:20:00 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "terraformer";
2021-09-22 06:19:36 +00:00
version = "0.8.17";
2020-08-24 04:20:00 +00:00
src = fetchFromGitHub {
owner = "GoogleCloudPlatform";
repo = pname;
rev = version;
2021-09-22 06:19:36 +00:00
sha256 = "sha256-E71I2fRGg8HTa9vFMQqjIxtqoR0J4Puz2AmlyZMhye8=";
2020-08-24 04:20:00 +00:00
};
2021-09-22 06:19:36 +00:00
vendorSha256 = "sha256-x5wyje27029BZMk17sIHzd68Nlh5ifLn+YXv4hPs04Q=";
2020-08-24 04:20:00 +00: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 ];
};
}