diff --git a/pkgs/applications/networking/cluster/terraform/default.nix b/pkgs/applications/networking/cluster/terraform/default.nix index 8589eed12bbc..8643159aa8fb 100644 --- a/pkgs/applications/networking/cluster/terraform/default.nix +++ b/pkgs/applications/networking/cluster/terraform/default.nix @@ -76,6 +76,7 @@ let azurerm = import providers/azurerm.nix { inherit stdenv lib buildGoPackage fetchFromGitHub; }; google = import providers/google.nix { inherit stdenv lib buildGoPackage fetchFromGitHub; }; kubernetes = import providers/kubernetes.nix { inherit stdenv lib buildGoPackage fetchFromGitHub; }; + template = import providers/template.nix { inherit stdenv lib buildGoPackage fetchFromGitHub; }; }; in { terraform_0_8_5 = generic { diff --git a/pkgs/applications/networking/cluster/terraform/providers/template.nix b/pkgs/applications/networking/cluster/terraform/providers/template.nix new file mode 100644 index 000000000000..16650af870bb --- /dev/null +++ b/pkgs/applications/networking/cluster/terraform/providers/template.nix @@ -0,0 +1,16 @@ +{ stdenv, lib, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + pname = "terraform-provider-template"; + name = "${pname}-${version}"; + version = "0.1.1"; + + goPackagePath = "github.com/terraform-providers/terraform-provider-template"; + + src = fetchFromGitHub { + owner = "terraform-providers"; + repo = pname; + rev = "v${version}"; + sha256 = "1qrslnkvcj18jzxmsbf72gm54s8dnw5k5z15nffwgy09vv7mzpcn"; + }; +} \ No newline at end of file