vesta: init at 1.0.10

Static analysis of vulnerabilities, Docker and Kubernetes
cluster configuration

https://github.com/kvesta/vesta

+42
+42
pkgs/by-name/ve/vesta/package.nix
··· 1 + { 2 + lib, 3 + buildGoModule, 4 + fetchFromGitHub, 5 + versionCheckHook, 6 + }: 7 + 8 + buildGoModule rec { 9 + pname = "vesta"; 10 + version = "1.0.10"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "kvesta"; 14 + repo = "vesta"; 15 + tag = "v${version}"; 16 + hash = "sha256-/AIzIXtevFRW7gxA3dgNC8SPpT5ABrulf62GOpsw5Wc="; 17 + }; 18 + 19 + vendorHash = "sha256-Rs1UXvSP3iXQySW5yVkP5JTWmEOej4atTpYpmQccbro="; 20 + 21 + nativeInstallCheckInputs = [ versionCheckHook ]; 22 + 23 + ldflags = [ 24 + "-s" 25 + "-w" 26 + ]; 27 + 28 + doInstallCheck = true; 29 + 30 + versionCheckProgramArg = [ "version" ]; 31 + 32 + checkFlags = [ "-skip=TestPythonMatch" ]; 33 + 34 + meta = { 35 + description = "Static analysis of vulnerabilities, Docker and Kubernetes cluster configuration"; 36 + homepage = "https://github.com/kvesta/vesta"; 37 + changelog = "https://github.com/kvesta/vesta/blob/${src.tag}/CHANGELOG.md"; 38 + license = lib.licenses.asl20; 39 + maintainers = with lib.maintainers; [ fab ]; 40 + mainProgram = "vesta"; 41 + }; 42 + }