diff options
author | Shea Levy <shea@shealevy.com> | 2017-03-14 16:31:08 -0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2017-03-14 16:31:08 -0400 |
commit | 5fa84fb1a8cd1f5e6268f0276f572c54d106aa96 (patch) | |
tree | f9edc778bc120bb16683216f032e8851d0d40f49 /pkgs/applications/networking/cluster/terraform | |
parent | 496120c19f710e1a317f606dc067664a6751370d (diff) | |
download | nixlib-5fa84fb1a8cd1f5e6268f0276f572c54d106aa96.tar nixlib-5fa84fb1a8cd1f5e6268f0276f572c54d106aa96.tar.gz nixlib-5fa84fb1a8cd1f5e6268f0276f572c54d106aa96.tar.bz2 nixlib-5fa84fb1a8cd1f5e6268f0276f572c54d106aa96.tar.lz nixlib-5fa84fb1a8cd1f5e6268f0276f572c54d106aa96.tar.xz nixlib-5fa84fb1a8cd1f5e6268f0276f572c54d106aa96.tar.zst nixlib-5fa84fb1a8cd1f5e6268f0276f572c54d106aa96.zip |
terra{form,grunt}: Add some needed old versions
Diffstat (limited to 'pkgs/applications/networking/cluster/terraform')
-rw-r--r-- | pkgs/applications/networking/cluster/terraform/0.8.5.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/terraform/0.8.5.nix b/pkgs/applications/networking/cluster/terraform/0.8.5.nix new file mode 100644 index 000000000000..7f927b586705 --- /dev/null +++ b/pkgs/applications/networking/cluster/terraform/0.8.5.nix @@ -0,0 +1,34 @@ +{ stdenv, lib, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + name = "terraform-${version}"; + version = "0.8.5"; + + goPackagePath = "github.com/hashicorp/terraform"; + + src = fetchFromGitHub { + owner = "hashicorp"; + repo = "terraform"; + rev = "v${version}"; + sha256 = "1cxwv3652fpsbm2zk1akw356cd7w7vhny1623ighgbz9ha8gvg09"; + }; + + postInstall = '' + # remove all plugins, they are part of the main binary now + for i in $bin/bin/*; do + if [[ $(basename $i) != terraform ]]; then + rm "$i" + fi + done + ''; + + meta = with stdenv.lib; { + description = "Tool for building, changing, and versioning infrastructure"; + homepage = "https://www.terraform.io/"; + license = licenses.mpl20; + maintainers = with maintainers; [ + jgeerds + zimbatm + ]; + }; +} |