2018-07-26 03:56:44 +01:00
|
|
|
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
|
|
|
|
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "kustomize-${version}";
|
2018-11-27 16:49:22 +00:00
|
|
|
version = "1.0.10";
|
|
|
|
# rev is the 1.0.10 commit, mainly for kustomize version command output
|
|
|
|
rev = "383b3e798b7042f8b7431f93e440fb85631890a3";
|
2018-07-26 03:56:44 +01:00
|
|
|
|
2018-09-28 18:58:56 +01:00
|
|
|
goPackagePath = "sigs.k8s.io/kustomize";
|
|
|
|
|
|
|
|
buildFlagsArray = let t = "${goPackagePath}/pkg/commands"; in ''
|
|
|
|
-ldflags=
|
|
|
|
-s -X ${t}.kustomizeVersion=${version}
|
|
|
|
-X ${t}.gitCommit=${rev}
|
|
|
|
-X ${t}.buildDate=unknow
|
|
|
|
'';
|
2018-07-26 03:56:44 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-11-27 16:49:22 +00:00
|
|
|
sha256 = "1z78d5j2w78x4ks4v745050g2ffmirj03v7129dib2lfhfjra8aj";
|
2018-07-26 03:56:44 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
repo = "kustomize";
|
|
|
|
owner = "kubernetes-sigs";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with 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;
|
2018-10-26 10:03:28 +01:00
|
|
|
maintainers = with maintainers; [ carlosdagos vdemeester periklis ];
|
2018-07-26 03:56:44 +01:00
|
|
|
};
|
|
|
|
}
|