3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/cluster/kubeseal/default.nix

26 lines
675 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-11-17 07:33:55 +00:00
buildGoModule rec {
pname = "kubeseal";
2020-05-19 10:08:09 +01:00
version = "0.12.3";
2019-11-17 07:33:55 +00:00
src = fetchFromGitHub {
owner = "bitnami-labs";
repo = "sealed-secrets";
rev = "v${version}";
2020-05-19 10:08:09 +01:00
sha256 = "1h8n2219xh0gl42kz3rkv3aj3wfwivvs9skwbbrvmrkwwrpxkgdj";
2019-11-17 07:33:55 +00:00
};
vendorSha256 = null;
2019-11-17 07:33:55 +00:00
subPackages = [ "cmd/kubeseal" ];
2020-05-19 10:20:00 +01: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 ];
};
}