summaryrefslogtreecommitdiff
path: root/rodion
diff options
context:
space:
mode:
authorRodion Goritskov <rodion.goritskov@gmail.com>2024-03-30 14:57:16 +0400
committerRodion Goritskov <rodion.goritskov@gmail.com>2024-03-30 14:57:16 +0400
commit53fbd7fdadbf168f696f3f2e25c7883369ee971b (patch)
treeb7a1af1dbed3802613b988237f6efccf7399a78e /rodion
parentc776d6c682e8b6752167b6615e638a5b22e5b702 (diff)
gnu: Add terraform, helmfile, terragrunt.
* rodion/packages/k8s.scm (terraform): New variables
Diffstat (limited to 'rodion')
-rw-r--r--rodion/packages/k8s.scm64
1 files changed, 64 insertions, 0 deletions
diff --git a/rodion/packages/k8s.scm b/rodion/packages/k8s.scm
new file mode 100644
index 0000000..34433e9
--- /dev/null
+++ b/rodion/packages/k8s.scm
@@ -0,0 +1,64 @@
+(define-module (rodion packages k8s)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (nonguix licenses)
+ #:use-module (guix packages)
+ #:use-module (guix download)
+ #:use-module (gnu packages compression)
+ #:use-module (guix build-system copy)
+ #:use-module (gnu packages fonts))
+
+(define-public terraform
+ (package
+ (name "terraform")
+ (version "1.7.5")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://releases.hashicorp.com/terraform/1.7.5/terraform_" version "_linux_amd64.zip"))
+ (sha256
+ (base32 "19gpjjcmi2203365bzzk845zp72955rfvw6hgzv07415x2smdw1z"))))
+ (build-system copy-build-system)
+ (arguments
+ `(#:install-plan '(("terraform" "bin/"))))
+ (synopsis "Terraform")
+ (description "Terraform")
+ (inputs (list unzip))
+ (home-page "https://terraform.io")
+ (license (nonfree "https://github.com/hashicorp/terraform/blob/main/LICENSE" "Business Source License"))))
+
+(define-public helmfile
+ (package
+ (name "helmfile")
+ (version "0.163.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/helmfile/helmfile/releases/download/v" version "/helmfile_" version "_linux_amd64.tar.gz"))
+ (sha256
+ (base32 "0fmnw6mj47vnn9g3xpjq6y9lri8pql4y65g0fmkkl0fy16sh1gyd"))))
+ (build-system copy-build-system)
+ (arguments
+ `(#:install-plan '(("helmfile" "bin/"))))
+ (synopsis "Helmfile")
+ (description "Helmfile")
+ (home-page "https://github.com/helmfile/helmfile")
+ (license license:expat)))
+
+(define-public terragrunt
+ (package
+ (name "terragrunt")
+ (version "0.55.19")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/gruntwork-io/terragrunt/releases/download/v" version "/terragrunt_linux_amd64"))
+ (sha256
+ (base32 "1dza7s3dx1360rdzak7j5can670aacj60rlggkflgnqx1khavwbb"))))
+ (build-system copy-build-system)
+ (arguments
+ `(#:install-plan '(("terragrunt_linux_amd64" "bin/terragrunt"))
+ #:phases (modify-phases %standard-phases
+ (add-after 'install 'make-executable
+ (lambda* (#:key outputs #:allow-other-keys)
+ (chmod (string-append (assoc-ref %outputs "out") "/bin/terragrunt") #o555))))))
+ (synopsis "Terragrunt")
+ (description "Terragrunt")
+ (home-page "https://github.com/gruntwork-io/terragrunt")
+ (license license:expat)))