-
-
Save matthew-piziak/05f1373c22e15ab4f213ec1c35807bd6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kustomize = pkgs.buildGoModule rec { | |
pname = "kustomize"; | |
version = "2.1.0"; | |
rev = "af67c893d87c5fb8200f8a3edac7fdafd61ec0bd"; | |
goPackagePath = "sigs.k8s.io/kustomize"; | |
subPackages = [ "cmd/kustomize" ]; | |
buildFlagsArray = let t = "${goPackagePath}/v3/pkg/commands/misc"; | |
in '' | |
-ldflags= | |
-s -X ${t}.kustomizeVersion=${version} | |
-X ${t}.gitCommit=${rev} | |
-X ${t}.buildDate=unknown | |
''; | |
src = pkgs.fetchFromGitHub { | |
sha256 = "0kigcirkjvnj3xi1p28p9yp3s0lff24q5qcvf8ahjwvpbwka14sh"; | |
rev = "v${version}"; | |
repo = pname; | |
owner = "kubernetes-sigs"; | |
}; | |
modSha256 = "0w8sp73pmj2wqrg7x7z8diglyfq6c6gn9mmck0k1gk90nv7s8rf1"; | |
meta = with pkgs.lib; { | |
description = "Customization of kubernetes YAML configurations"; | |
longDescription = '' | |
kustomize lets you customize raw, template-free YAML files for | |
multiple purposes, leaving the original YAML untouched and usable | |
as is. | |
''; | |
homepage = "https://github.com/kubernetes-sigs/kustomize"; | |
license = licenses.asl20; | |
maintainers = with maintainers; [ carlosdagos vdemeester periklis zaninime ]; | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment