diff --git a/packages/infra.scm b/packages/infra.scm new file mode 100644 index 0000000..328cfe6 --- /dev/null +++ b/packages/infra.scm @@ -0,0 +1,32 @@ +(define-module (infra) + #:use-module (guix packages) + #:use-module (guix git-download) + #:use-module (guix build-system go) + #:use-module ((guix licenses) #:prefix license:) + ) + +(define-public terraform + (package + (name "terraform") + (version "1.8.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hashicorp/terraform") + (commit (string-append "v" version)))) + (sha256 + (base32 + "0q8x6fhhkh4spddbqsxbsc2fp0r5p5010awgkb628s9vz111ws3r")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/hashicorp/terraform")) + (synopsis "Tool for building, changing, and versioning infrastructure") + (description + "Terraform enables you to safely and predictably create, change, and +improve infrastructure. It is an open source tool that codifies APIs into +declarative configuration files that can be shared amongst team members, +treated as code, edited, reviewed, and versioned.") + (home-page "https://www.terraform.io/") + (license license:mpl2.0))) + +terraform