add package definition for terraform

This commit is contained in:
Peter Tillemans 2024-05-31 12:38:05 +02:00
parent 6dc0d67a02
commit 1150f8acd2

32
packages/infra.scm Normal file
View file

@ -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