diff options
Diffstat (limited to 'pkgs/applications/networking/cluster/kluctl/default.nix')
-rw-r--r-- | pkgs/applications/networking/cluster/kluctl/default.nix | 32 |
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 0000000000000..d7d439da73362 --- /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 ]; + }; +} |