2017-05-15 13:48:27 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub}:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "terraform-inventory-${version}";
|
|
|
|
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;
|
|
|
|
|
2017-05-20 15:16:44 +01:00
|
|
|
meta = with stdenv.lib; {
|
2017-05-15 13:48:27 +01:00
|
|
|
homepage = https://github.com/adammck/terraform-inventory;
|
|
|
|
description = "Terraform state to ansible inventory adapter";
|
2017-05-20 15:16:44 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ htr ];
|
2017-05-15 13:48:27 +01:00
|
|
|
};
|
|
|
|
}
|