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

43 lines
1.2 KiB
Nix
Raw Normal View History

2020-10-13 13:50:55 +01:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "starboard";
2020-12-03 13:11:10 +00:00
version = "0.7.0";
2020-10-13 13:50:55 +01:00
src = fetchFromGitHub {
owner = "aquasecurity";
repo = pname;
rev = "v${version}";
2020-12-03 13:11:10 +00:00
sha256 = "1xj0fa52973h7cg3scxn85lav98q6fz82dwd5cls3p39ghnhzn5l";
2020-10-13 13:50:55 +01:00
};
2020-12-03 13:11:10 +00:00
vendorSha256 = "07cz4p8k927ash5ncw1r56bcn592imgywbyzkvhnn50pap91m0q0";
subPackages = [ "cmd/starboard" ];
2020-10-13 13:50:55 +01:00
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 ];
};
}