2019-11-13 17:07:05 +01:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2018-10-09 07:28:50 +02:00
|
|
|
|
2019-11-13 17:07:05 +01:00
|
|
|
buildGoModule rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "helm";
|
2019-11-13 17:07:05 +01:00
|
|
|
version = "3.0.0";
|
2016-12-13 00:43:24 +01:00
|
|
|
|
2018-10-09 07:28:50 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "helm";
|
|
|
|
repo = "helm";
|
|
|
|
rev = "v${version}";
|
2019-11-13 17:07:05 +01:00
|
|
|
sha256 = "0gx5gmj1470q3gj8v043dmm31skf83p1ckzdcfzx8wdjlglsljrj";
|
2016-12-13 00:43:24 +01:00
|
|
|
};
|
2019-11-13 17:07:05 +01:00
|
|
|
modSha256 = "0xjzzwmq3i77anb7w2qfnz7vc0gxq02lylj0xs6dzwl543winshm";
|
2016-12-13 00:43:24 +01:00
|
|
|
|
2018-10-09 07:28:50 +02:00
|
|
|
goPackagePath = "k8s.io/helm";
|
2019-11-13 17:07:05 +01:00
|
|
|
subPackages = [ "cmd/helm" ];
|
|
|
|
buildFlagsArray = [ "-ldflags=-w -s -X helm.sh/helm/v3/internal/version.gitCommit=v${version}" ];
|
2016-12-13 00:43:24 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/kubernetes/helm;
|
|
|
|
description = "A package manager for kubernetes";
|
|
|
|
license = licenses.asl20;
|
2019-11-13 17:07:05 +01:00
|
|
|
maintainers = with maintainers; [ rlupton20 edude03 saschagrunert ];
|
2016-12-13 00:43:24 +01:00
|
|
|
};
|
|
|
|
}
|