mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 00:34:00 +00:00
trivy: 0.55.1 -> 0.55.2 (#342682)
This commit is contained in:
commit
dfe51d53ec
@ -11,13 +11,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "trivy";
|
||||
version = "0.55.1";
|
||||
version = "0.55.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aquasecurity";
|
||||
repo = "trivy";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-NStDXhJ2nOaPxirD6qbLyqIZZFLp5vm5/u5tego7MyI=";
|
||||
hash = "sha256-DwIklbBd2g/zVPwRqcl+GFfTUm3LHs/x37X5T+tX4aI=";
|
||||
};
|
||||
|
||||
# Hash mismatch on across Linux and Darwin
|
||||
@ -30,7 +30,7 @@ buildGoModule rec {
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X=github.com/aquasecurity/trivy/pkg/version.ver=v${version}"
|
||||
"-X=github.com/aquasecurity/trivy/pkg/version/app.ver=${version}"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
@ -58,13 +58,13 @@ buildGoModule rec {
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = trivy;
|
||||
command = "trivy --version";
|
||||
version = "Version: v${version}";
|
||||
version = "Version: ${version}";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple and comprehensive vulnerability scanner for containers, suitable for CI";
|
||||
homepage = "https://github.com/aquasecurity/trivy";
|
||||
changelog = "https://github.com/aquasecurity/trivy/releases/tag/v${version}";
|
||||
description = "Simple and comprehensive vulnerability scanner for containers, suitable for CI";
|
||||
longDescription = ''
|
||||
Trivy is a simple and comprehensive vulnerability scanner for containers
|
||||
and other artifacts. A software vulnerability is a glitch, flaw, or
|
||||
|
Loading…
Reference in New Issue
Block a user