Skip to content

Commit

Permalink
terraform-providers: bump versions (#64260)
Browse files Browse the repository at this point in the history
terraform-providers: bump versions
  • Loading branch information
Mic92 committed Jul 26, 2019
2 parents fcd940f + f432ae3 commit c7812b2
Show file tree
Hide file tree
Showing 5 changed files with 138 additions and 110 deletions.
@@ -0,0 +1,26 @@
{ stdenv, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
name = "terraform-provider-ansible-${version}";
version = "1.0.3";

goPackagePath = "github.com/nbering/terraform-provider-ansible";
goDeps = ./deps.nix;

src = fetchFromGitHub {
owner = "nbering";
repo = "terraform-provider-ansible";
rev = "v${version}";
sha256 = "0dqi9ym0xvnz3h73cmd1vf6k2qwfhxvj1mcakkpmsd4cpxq4l6pr";
};

# Terraform allow checking the provider versions, but this breaks
# if the versions are not provided via file paths.
postBuild = "mv go/bin/terraform-provider-ansible{,_v${version}}";

meta = with stdenv.lib; {
description = "A Terraform provider serving as an interop layer for an Ansible dynamic inventory script.";
homepage = "https://github.com/nbering/terraform-provider-ansible";
license = licenses.mpl20;
maintainers = with maintainers; [ uskudnik ];
};
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c7812b2

Please sign in to comment.