1 { lib, buildGoModule, fetchFromGitHub, testers, terraform-inventory }:
4 pname = "terraform-inventory";
7 src = fetchFromGitHub {
9 repo = "terraform-inventory";
11 sha256 = "sha256-gkSDxcBoYmCBzkO8y1WKcRtZdfl8w5qVix0zbyb4Myo=";
14 vendorHash = "sha256-pj9XLzaGU1PuNnpTL/7XaKJZUymX+i8hFMroZtHIqTc=";
16 ldflags = [ "-s" "-w" "-X main.build_version=${version}" ];
20 passthru.tests.version = testers.testVersion {
21 package = terraform-inventory;
25 homepage = "https://github.com/adammck/terraform-inventory";
26 description = "Terraform state to ansible inventory adapter";
27 mainProgram = "terraform-inventory";
28 license = licenses.mit;
29 maintainers = with maintainers; [ htr ];