Merge pull request #152150 from fabaff/bump-trivy

trivy: 0.21.2 -> 0.22.0
This commit is contained in:
Bobby Rong 2021-12-27 14:50:35 +08:00 committed by GitHub
commit bb85a87451
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,16 +5,16 @@
buildGoModule rec {
pname = "trivy";
version = "0.21.2";
version = "0.22.0";
src = fetchFromGitHub {
owner = "aquasecurity";
repo = pname;
rev = "v${version}";
sha256 = "sha256-k8bjwKoAXt9XFQX7rHhdrcu3FoaU31Ra78PQHNVCfq0=";
sha256 = "sha256-DH4vr6WiGwzT9zTMs/UqVoCHhpOSoT5t8P9plTPt8ZQ=";
};
vendorSha256 = "sha256-rJvmY0557QOb8D1/LhN8w64ds3HwqolLmGdntS5CJPQ=";
vendorSha256 = "sha256-1m3izHfxMUvUiz21NRjqdNS95sXf8Rwlu5TuQ411190=";
excludedPackages = "misc";
@ -24,7 +24,11 @@ buildGoModule rec {
"-X main.version=v${version}"
];
# Tests requires network access
doCheck = false;
doInstallCheck = true;
installCheckPhase = ''
runHook preInstallCheck
$out/bin/trivy --help