trivy: add myself as maintainer

This commit is contained in:
Fabian Affolter 2023-08-20 13:29:40 +02:00 committed by GitHub
parent f78c36b7e0
commit a6169e2d63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,11 +10,13 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "aquasecurity";
repo = pname;
rev = "v${version}";
sha256 = "sha256-zSrXfSG9GXReJ+XRx7FTBZovSvNq725zzWMje3maTx4=";
rev = "refs/tags/v${version}";
hash = "sha256-zSrXfSG9GXReJ+XRx7FTBZovSvNq725zzWMje3maTx4=";
};
# hash missmatch on across linux and darwin
proxyVendor = true;
vendorHash = "sha256-CEr8UvQtKZo5jahLeLx3RYT592i6SwwNLRA4IRD0mYU=";
subPackages = [ "cmd/trivy" ];
@ -22,7 +24,7 @@ buildGoModule rec {
ldflags = [
"-s"
"-w"
"-X main.version=v${version}"
"-X=main.version=v${version}"
];
# Tests require network access
@ -49,6 +51,6 @@ buildGoModule rec {
application dependencies (Bundler, Composer, npm, yarn, etc.).
'';
license = licenses.asl20;
maintainers = with maintainers; [ jk ];
maintainers = with maintainers; [ fab jk ];
};
}