blob: cb1481df8393aaf141c37cf11d9aa9d46d200d13 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Package to install a Terraform binary release.
# This is necessary because the Terraform package on Nix does not currently
# build for some reason.
with import <nixpkgs> {};
stdenv.mkDerivation rec {
name = "terraform-${version}";
version = "0.10.7";
src = fetchzip {
url = "https://releases.hashicorp.com/terraform/0.10.7/terraform_0.10.7_linux_amd64.zip";
sha256 = "189g94bb1d3wxzp720a5vki91czsqmk728469wa1fdkl43cdqd2n";
};
installPhase = ''
mkdir -p $out/bin
mv terraform $out/bin/terraform
'';
meta = with stdenv.lib; {
description = "Terraform is a tool for building, changing, and combining infrastructure safely and efficiently";
homepage = "https://www.terraform.io/";
license = licenses.mpl20;
};
#
}
|