nixpkgs/pkgs/applications/networking/cluster/kubeseal/default.nix

29 lines
695 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-11-17 07:33:55 +00:00
buildGoModule rec {
pname = "kubeseal";
2021-05-11 06:03:36 +00:00
version = "0.16.0";
2019-11-17 07:33:55 +00:00
src = fetchFromGitHub {
owner = "bitnami-labs";
repo = "sealed-secrets";
rev = "v${version}";
2021-05-11 06:03:36 +00:00
sha256 = "sha256-+9yOBrq34VCy1yAkSh1iHbgtckuz2FcHokH/Cb/Heus=";
2019-11-17 07:33:55 +00:00
};
vendorSha256 = null;
2019-11-17 07:33:55 +00:00
doCheck = false;
2019-11-17 07:33:55 +00:00
subPackages = [ "cmd/kubeseal" ];
2020-05-19 09:20:00 +00:00
buildFlagsArray = [ "-ldflags=-s -w -X main.VERSION=${version}" ];
meta = with lib; {
2019-11-17 07:33:55 +00:00
description = "A Kubernetes controller and tool for one-way encrypted Secrets";
homepage = "https://github.com/bitnami-labs/sealed-secrets";
license = licenses.asl20;
maintainers = with maintainers; [ groodt ];
};
2020-07-31 02:45:00 +00:00
}