From d372457bf00a6f32f9cf4df8b66f3a1074ebba77 Mon Sep 17 00:00:00 2001 From: Max Niederman Date: Thu, 11 Nov 2021 15:47:11 -0800 Subject: [PATCH] levant: init at 0.3.0 --- .../networking/cluster/levant/default.nix | 28 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/applications/networking/cluster/levant/default.nix diff --git a/pkgs/applications/networking/cluster/levant/default.nix b/pkgs/applications/networking/cluster/levant/default.nix new file mode 100644 index 000000000000..ff91caf4095e --- /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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f02a411360f0..d419999229d5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25659,6 +25659,8 @@ with pkgs; leftwm = callPackage ../applications/window-managers/leftwm { }; + levant = callPackage ../applications/networking/cluster/levant { }; + lwm = callPackage ../applications/window-managers/lwm { }; marker = callPackage ../applications/editors/marker { };