1 { lib, buildGoModule, fetchFromGitHub }:
6 # rev is the commit of the tag, mainly for kustomize version command output
7 rev = "602ad8aa98e2e17f6c9119e027a09757e63c8bec";
9 ldflags = let t = "sigs.k8s.io/kustomize/api/provenance"; in [
11 "-X ${t}.version=${version}"
12 "-X ${t}.gitCommit=${rev}"
15 src = fetchFromGitHub {
16 owner = "kubernetes-sigs";
18 rev = "kustomize/v${version}";
19 sha256 = "sha256-ESIykbAKXdv8zM9be0zEJ71rBAzZby0aTg25NlCsIOM=";
24 # avoid finding test and development commands
25 sourceRoot = "${src.name}/kustomize";
27 vendorHash = "sha256-xLeetcmzvpILLLMhMx7oahWLxguFjG3qbYpeeWpFUlw=";
30 description = "Customization of kubernetes YAML configurations";
32 kustomize lets you customize raw, template-free YAML files for
33 multiple purposes, leaving the original YAML untouched and usable
36 homepage = "https://github.com/kubernetes-sigs/kustomize";
37 license = licenses.asl20;
38 maintainers = with maintainers; [ carlosdagos vdemeester zaninime Chili-Man saschagrunert ];
39 mainProgram = "kustomize";