forked from mirrors/nixpkgs
41 lines
1.1 KiB
Nix
41 lines
1.1 KiB
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "starboard";
|
|
version = "0.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "aquasecurity";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "12vfxnny3giirdf1xhacy24dvy5zm7iil6h019s0l63876vingnc";
|
|
};
|
|
|
|
vendorSha256 = "0hj7h58j0v98plrqfldq59d084j76aiy82mfm8zi0vcqg6gxf4pb";
|
|
|
|
doCheck = false;
|
|
|
|
buildFlagsArray = [
|
|
"-ldflags="
|
|
"-s"
|
|
"-w"
|
|
"-X main.version=v${version}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Kubernetes-native security tool kit";
|
|
longDescription = ''
|
|
Starboard integrates security tools into the Kubernetes environment, so
|
|
that users can find and view the risks that relate to different resources
|
|
in a Kubernetes-native way. Starboard provides custom security resources
|
|
definitions and a Go module to work with a range of existing security
|
|
tools, as well as a kubectl-compatible command-line tool and an Octant
|
|
plug-in that make security reports available through familiar Kubernetes
|
|
tools.
|
|
'';
|
|
homepage = src.meta.homepage;
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ jk ];
|
|
};
|
|
}
|