Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "terraformer";
5 version = "0.8.22";
6
7 src = fetchFromGitHub {
8 owner = "GoogleCloudPlatform";
9 repo = pname;
10 rev = version;
11 sha256 = "sha256-TuzQ9qIpioKK4tc1J9Spxt52716Z3yTEufyaRDL57gI=";
12 };
13
14 vendorSha256 = "sha256-fcCvwjqSTeFo0AwTVwWTdygvIPf0EUnZkWqNrQ6eugI=";
15
16 subPackages = [ "." ];
17
18 meta = with lib; {
19 description = "CLI tool to generate terraform files from existing infrastructure (reverse Terraform). Infrastructure to Code";
20 homepage = "https://github.com/GoogleCloudPlatform/terraformer";
21 license = licenses.asl20;
22 maintainers = [ maintainers.marsam ];
23 };
24}