12 src = fetchFromGitHub {
13 owner = "kubernetes-sigs";
15 rev = "kustomize/v${version}";
16 hash = "sha256-AHDUwXcYkI04nOBY8jScf+OE6k9Z5OqzhtWExK1rrKg=";
19 # rev is the commit of the tag, mainly for kustomize version command output
20 rev = "56d82a8378dfc8dc3b3b1085e5a6e67b82966bd7";
23 t = "sigs.k8s.io/kustomize/api/provenance";
27 "-X ${t}.version=${version}"
28 "-X ${t}.gitCommit=${rev}"
31 # avoid finding test and development commands
32 modRoot = "kustomize";
34 vendorHash = "sha256-9+k0Me5alZDNC27Mx0Q6vp0B2SEa+Qy0FoLSr/Rahkc=";
36 nativeBuildInputs = [ installShellFiles ];
39 installShellCompletion --cmd kustomize \
40 --bash <($out/bin/kustomize completion bash) \
41 --fish <($out/bin/kustomize completion fish) \
42 --zsh <($out/bin/kustomize completion zsh)
46 description = "Customization of kubernetes YAML configurations";
47 mainProgram = "kustomize";
49 kustomize lets you customize raw, template-free YAML files for
50 multiple purposes, leaving the original YAML untouched and usable
53 homepage = "https://github.com/kubernetes-sigs/kustomize";
54 license = licenses.asl20;
55 maintainers = with maintainers; [