From fa4c32628d84cc66e2dd9ae4447b60c160179d4a Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Tue, 13 Oct 2020 13:50:55 +0100 Subject: [PATCH] starboard: init at 0.4.0 --- .../networking/cluster/starboard/default.nix | 40 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 42 insertions(+) create mode 100644 pkgs/applications/networking/cluster/starboard/default.nix diff --git a/pkgs/applications/networking/cluster/starboard/default.nix b/pkgs/applications/networking/cluster/starboard/default.nix new file mode 100644 index 00000000000..78d25a4a958 --- /dev/null +++ b/pkgs/applications/networking/cluster/starboard/default.nix @@ -0,0 +1,40 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "starboard"; + version = "0.4.0"; + + src = fetchFromGitHub { + owner = "aquasecurity"; + repo = pname; + rev = "v${version}"; + sha256 = "0jvr8lf3wdg6svsfi3fdknqw543495gysznbqhl42w7d3r5krcyw"; + }; + + vendorSha256 = "0p5svprhbnb7mfln1mhaq55w8xnj8v3sinwkysxjzh1g8p36mglp"; + + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index db9bb95047b..1474c159bd3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2393,6 +2393,8 @@ in stagit = callPackage ../development/tools/stagit { }; + starboard = callPackage ../applications/networking/cluster/starboard { }; + statserial = callPackage ../tools/misc/statserial { }; step-ca = callPackage ../tools/security/step-ca { };