summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2022-10-26 22:15:06 +0200
committerGitHub <noreply@github.com>2022-10-26 22:15:06 +0200
commiteb41a3412cbfd5987cfdd0672cc0c91c86dff3c1 (patch)
treeeeecd6d9d27987bca941569b70068f775420c986 /pkgs/applications/networking
parent45ff74823bcf0e247615921518b93a768d0e4e60 (diff)
parentd1066e5ea2a32cbb97ee28aba3791eda64fab7b1 (diff)
downloadnixpkgs-eb41a3412cbfd5987cfdd0672cc0c91c86dff3c1.tar
nixpkgs-eb41a3412cbfd5987cfdd0672cc0c91c86dff3c1.tar.gz
nixpkgs-eb41a3412cbfd5987cfdd0672cc0c91c86dff3c1.tar.bz2
nixpkgs-eb41a3412cbfd5987cfdd0672cc0c91c86dff3c1.tar.lz
nixpkgs-eb41a3412cbfd5987cfdd0672cc0c91c86dff3c1.tar.xz
nixpkgs-eb41a3412cbfd5987cfdd0672cc0c91c86dff3c1.tar.zst
nixpkgs-eb41a3412cbfd5987cfdd0672cc0c91c86dff3c1.zip
Merge pull request #191560 from sikmir/kluctl
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/cluster/kluctl/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/kluctl/default.nix b/pkgs/applications/networking/cluster/kluctl/default.nix
new file mode 100644
index 00000000000..d7d439da733
--- /dev/null
+++ b/pkgs/applications/networking/cluster/kluctl/default.nix
@@ -0,0 +1,32 @@
+{ lib, stdenv, buildGoModule, fetchFromGitHub, testers, kluctl }:
+
+buildGoModule rec {
+  pname = "kluctl";
+  version = "2.16.0";
+
+  src = fetchFromGitHub {
+    owner = "kluctl";
+    repo = "kluctl";
+    rev = "v${version}";
+    hash = "sha256-NwjPClD3P9EP7gKPPgKXI3h+kLeGPd7Gf6gZXMCCLHk=";
+  };
+
+  vendorHash = "sha256-IC+sjctDqd0lQD5labl+UYWsRiptQKSjSHYf2SGkp14=";
+
+  ldflags = [ "-s" "-w" "-X main.version=v${version}" ];
+
+  # Depends on docker
+  doCheck = false;
+
+  passthru.tests.version = testers.testVersion {
+    package = kluctl;
+    version = "v${version}";
+  };
+
+  meta = with lib; {
+    description = "The missing glue to put together large Kubernetes deployments";
+    homepage = "https://kluctl.io/";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ sikmir ];
+  };
+}