about summary refs log tree commit diff
path: root/pkgs/applications/networking/cluster
diff options
context:
space:
mode:
authorQuentin JOLY <82603435+QJoly@users.noreply.github.com>2023-04-24 07:41:45 +0000
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-04-27 17:39:00 -0300
commit53264e7daa7952967d1a7bd3ee194e93f336bacb (patch)
treed9438addf01207fe9680c60df81c457a97746067 /pkgs/applications/networking/cluster
parent2600c94f7fa41c999d3ab711d9636051a0583418 (diff)
kubecm: init at 0.22.1
fix lint
Diffstat (limited to 'pkgs/applications/networking/cluster')
-rw-r--r--pkgs/applications/networking/cluster/kubecm/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/kubecm/default.nix b/pkgs/applications/networking/cluster/kubecm/default.nix
new file mode 100644
index 0000000000000..279ac3f0329d1
--- /dev/null
+++ b/pkgs/applications/networking/cluster/kubecm/default.nix
@@ -0,0 +1,25 @@
+{ lib, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+  pname = "kubecm";
+  version = "0.22.1";
+
+  src = fetchFromGitHub {
+    owner = "sunny0826";
+    repo = "kubecm";
+    rev = "v${version}";
+    hash = "sha256-0oQOuBYCDNnOODM2ZSqTgOI+jHWuHTtsk2NfGIPMy5A=";
+  };
+
+  vendorHash = "sha256-fVPiEDB6WFu2x5EY7NjmJEEq297QxP10593cXxxv8iI=";
+  ldflags = [ "-s" "-w" "-X github.com/sunny0826/kubecm/version.Version=${version}"];
+
+  doCheck = false;
+
+  meta = with lib; {
+    description = "Manage your kubeconfig more easily";
+    homepage = "https://github.com/sunny0826/kubecm/";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ qjoly ];
+  };
+}