diff options
author | Giacomo Leidi <goodoldpaul@autistici.org> | 2023-05-19 21:32:49 +0200 |
---|---|---|
committer | John Kehayias <john.kehayias@protonmail.com> | 2023-09-07 17:06:40 -0400 |
commit | 8ba0c3409605eaa6427234a2610b7802dad57396 (patch) | |
tree | d3347c106fb65613df4b71c1da2b2e57c40c73ff | |
parent | e2aa9e56d4d1888bf51d7671a18d304750373f89 (diff) |
nongnu: Add k9s.
* nongnu/packages/k8s.scm: New module.
(k9s): New variable.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
-rw-r--r-- | nongnu/packages/k8s.scm | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/nongnu/packages/k8s.scm b/nongnu/packages/k8s.scm new file mode 100644 index 0000000..3389b3f --- /dev/null +++ b/nongnu/packages/k8s.scm @@ -0,0 +1,42 @@ +;;; SPDX-License-Identifier: GPL-3.0-or-later +;;; Copyright © 2023 Giacomo Leidi <goodoldpaul@autistici.org> + +(define-module (nongnu packages k8s) + #:use-module (guix build-system copy) + #:use-module (guix download) + #:use-module (guix gexp) + #:use-module (guix packages) + #:use-module ((guix licenses) :prefix license:)) + +(define-public k9s + (package + (name "k9s") + (version "0.27.4") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/derailed/k9s/releases/download/v" + version "/k9s_Linux_amd64.tar.gz")) + (sha256 + (base32 + "14j37kl8pbmbid4np48cfv5k8vic6ngnc4pjh01qr6szplg861z5")))) + (build-system copy-build-system) + (arguments + (list + #:substitutable? #f + #:install-plan + #~'(("k9s" "bin/")) + #:phases + #~(modify-phases %standard-phases + (replace 'unpack + (lambda _ + (invoke "tar" "-xvf" #$source)))))) + (home-page "https://k9scli.io") + (supported-systems '("x86_64-linux")) + (synopsis "Kubernetes CLI To Manage Your Clusters In Style") + (description + "K9s provides a terminal UI to interact with your Kubernetes clusters. The +aim of this project is to make it easier to navigate, observe and manage your +applications in the wild. K9s continually watches Kubernetes for changes and +offers subsequent commands to interact with your observed resources.") + (license license:asl2.0))) |