From 2ab535d711427b1973556011db686b3a7388f072 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Tue, 7 Mar 2023 18:23:21 +0100 Subject: Install levant --- tw/home/cern.scm | 3 ++- tw/packages/ci.scm | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/tw/home/cern.scm b/tw/home/cern.scm index 1ab20101..878aa29d 100644 --- a/tw/home/cern.scm +++ b/tw/home/cern.scm @@ -105,7 +105,8 @@ ;; Work s3cmd python-alibuild python-alidistlint - hashicorp-nomad-bin hashicorp-consul-bin hashicorp-vault-bin hashicorp-packer-bin + hashicorp-levant-bin hashicorp-nomad-bin + hashicorp-consul-bin hashicorp-vault-bin hashicorp-packer-bin ;; i3 and Xorg. i3 itself must be installed system-wide for gdm to pick it up. ;; acpilight is a drop-in xbacklight replacement, as xbacklight doesn't work on my system. diff --git a/tw/packages/ci.scm b/tw/packages/ci.scm index 3a2619ac..6f2c5f9d 100644 --- a/tw/packages/ci.scm +++ b/tw/packages/ci.scm @@ -109,3 +109,22 @@ orchestrator that can deploy a mix of microservice, batch, containerized, and non-containerized applications. Nomad is easy to operate and scale and has native Consul and Vault integrations.") (license license:mpl2.0))) + +(define-public hashicorp-levant-bin + (package + (name "hashicorp-levant") + (version "0.3.2") + (source + (origin + (method url-fetch/zipbomb) + (uri (hashicorp-download-url "levant" version)) + (sha256 (base32 "0w0mmlf9zqcfxnw7753h495074gks4vrck5dw8hyf9w3il7ih1hy")))) + (build-system copy-build-system) + (arguments + `(#:install-plan '(("levant" "bin/")))) + (home-page "https://github.com/hashicorp/levant") + (synopsis "An open source templating and deployment tool for HashiCorp Nomad jobs") + (description "Levant is an open source templating and deployment tool for +HashiCorp Nomad jobs that provides realtime feedback and detailed failure +messages upon deployment issues.") + (license license:mpl2.0))) -- cgit v1.2.3