nongnu: Add helm.

* nongnu/packages/k8s.scm (helm): New variable.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
This commit is contained in:
Giacomo Leidi 2023-05-19 22:10:24 +02:00 committed by John Kehayias
parent 5155d7ec30
commit a922d5be64
No known key found for this signature in database
GPG key ID: 499097AE5EA815D9

View file

@ -144,3 +144,36 @@ view logs.")
"Kompose is a conversion tool for Docker Compose to container orchestrators "Kompose is a conversion tool for Docker Compose to container orchestrators
such as Kubernetes (or OpenShift).") such as Kubernetes (or OpenShift).")
(license license:expat))) (license license:expat)))
(define-public helm
(package
(name "helm")
(version "3.12.3")
(source (origin
(method url-fetch)
(uri (string-append
"https://get.helm.sh/helm-v" version "-linux-amd64.tar.gz"))
(sha256
(base32
"1d99c506shnz5cr9xhkrla5r82nan7v3hz631jqflicd376i68qv"))))
(build-system copy-build-system)
(arguments
(list
#:substitutable? #f
#:install-plan
#~'(("linux-amd64/helm" "bin/"))
#:phases
#~(modify-phases %standard-phases
(replace 'unpack
(lambda _
(invoke "tar" "-xvf" #$source)))
(add-before 'install 'chmod
(lambda _
(chmod "linux-amd64/helm" #o555))))))
(home-page "https://helm.sh")
(supported-systems '("x86_64-linux"))
(synopsis "The package manager for Kubernetes")
(description
"Helm helps you manage Kubernetes applications - Helm Charts help you
define, install, and upgrade Kubernetes applications.")
(license license:asl2.0)))