1 { lib, buildGoModule, fetchFromGitHub, testers, makeWrapper, python310, kluctl }:
7 src = fetchFromGitHub {
11 hash = "sha256-EfzMDOIp/dfnpLTnaUkZ1sfGVtQqUgeGyHNiWIwSxQ4=";
14 subPackages = [ "cmd" ];
16 vendorHash = "sha256-iE4fPRq2kalP53AO3YaaqbRMH4Cl6XB5UseJmepoW+4=";
18 ldflags = [ "-s" "-w" "-X main.version=v${version}" ];
27 passthru.tests.version = testers.testVersion {
29 version = "v${version}";
33 mv $out/bin/{cmd,kluctl}
34 wrapProgram $out/bin/kluctl \
35 --set KLUCTL_USE_SYSTEM_PYTHON 1 \
36 --prefix PATH : '${lib.makeBinPath [ python310 ]}'
40 description = "Missing glue to put together large Kubernetes deployments";
41 mainProgram = "kluctl";
42 homepage = "https://kluctl.io/";
43 license = licenses.asl20;
44 maintainers = with maintainers; [ sikmir netthier ];