about summary refs log tree commit diff
path: root/pkgs/applications/networking/cluster
diff options
context:
space:
mode:
authorMax Niederman <max@maxniederman.com>2021-11-11 15:47:11 -0800
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-11-12 19:14:07 -0800
commitd372457bf00a6f32f9cf4df8b66f3a1074ebba77 (patch)
tree5039937183a57bfd73e0180428734b4533bee2fc /pkgs/applications/networking/cluster
parent46bc8d3b1048513df8f3874d527b6990fdac6049 (diff)
levant: init at 0.3.0
Diffstat (limited to 'pkgs/applications/networking/cluster')
-rw-r--r--pkgs/applications/networking/cluster/levant/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/levant/default.nix b/pkgs/applications/networking/cluster/levant/default.nix
new file mode 100644
index 0000000000000..ff91caf4095ee
--- /dev/null
+++ b/pkgs/applications/networking/cluster/levant/default.nix
@@ -0,0 +1,28 @@
+{ lib, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+  pname = "levant";
+  version = "0.3.0";
+
+  src = fetchFromGitHub {
+    owner = "hashicorp";
+    repo = "levant";
+    rev = "v${version}";
+    sha256 = "9M7a4i+DPKb1H9jOEVAvhvYxGwtj3dK/40n4GSy4Rqo=";
+  };
+
+  vendorSha256 = "5JlrgmIfhX0rPR72sUkFcofw/iIbIaca359GN9C9dhU=";
+
+  runVend = true;
+
+  # The tests try to connect to a Nomad cluster.
+  doCheck = false;
+
+  meta = with lib; {
+    description = "An open source templating and deployment tool for HashiCorp Nomad jobs";
+    homepage = "https://github.com/hashicorp/levant";
+    license = licenses.mpl20;
+    maintainers = with maintainers; [ max-niederman ];
+    platforms = platforms.unix;
+  };
+}