forked from mirrors/nixpkgs
27 lines
711 B
Nix
27 lines
711 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "kubeseal";
|
|
version = "0.18.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bitnami-labs";
|
|
repo = "sealed-secrets";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-+5g51doZBJqNwsIvAZ7rsq6QhAMaWFjygzr+eAE+R8w=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-YC4ZSeObkilNvAu3StMDrnZQexVUFwVtX7ee/EPLTsE=";
|
|
|
|
subPackages = [ "cmd/kubeseal" ];
|
|
|
|
ldflags = [ "-s" "-w" "-X main.VERSION=${version}" ];
|
|
|
|
meta = with lib; {
|
|
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 ];
|
|
};
|
|
}
|