2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub}:
|
2017-05-15 13:48:27 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "terraform-inventory";
|
2017-05-15 13:48:27 +01:00
|
|
|
version = "0.7-pre";
|
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/adammck/terraform-inventory";
|
|
|
|
|
|
|
|
subPackages = [ "./" ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "adammck";
|
|
|
|
repo = "terraform-inventory";
|
|
|
|
sha256 = "0wwyi2nfyn3wfpmvj8aabn0cjba0lpr5nw3rgd6qdywy7sc3rmb1";
|
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/adammck/terraform-inventory";
|
2017-05-15 13:48:27 +01:00
|
|
|
description = "Terraform state to ansible inventory adapter";
|
2017-05-20 15:16:44 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ htr ];
|
2017-05-15 13:48:27 +01:00
|
|
|
};
|
|
|
|
}
|