forked from mirrors/nixpkgs
30 lines
747 B
Nix
30 lines
747 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "helmfile";
|
|
version = "0.143.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "roboll";
|
|
repo = "helmfile";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-3Kuj3umyD7fooa4alNJAm7Adu+7EQvoB7Gt/LRjgW94=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-/MbKYPcZ7cOPQKT+nYQaaCiahKLcesrSVKNo8hKFlf0=";
|
|
|
|
doCheck = false;
|
|
|
|
subPackages = [ "." ];
|
|
|
|
ldflags = [ "-s" "-w" "-X github.com/roboll/helmfile/pkg/app/version.Version=${version}" ];
|
|
|
|
meta = {
|
|
description = "Deploy Kubernetes Helm charts";
|
|
homepage = "https://github.com/roboll/helmfile";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ pneumaticat yurrriq ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|