Merge pull request #250332 from fabaff/trivy-bump

trivy: 0.44.0 -> 0.44.1

authored by Fabian Affolter and committed by GitHub a890a6af 638658ce

+8 -6
+8 -6
pkgs/tools/admin/trivy/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "trivy"; 8 - version = "0.44.0"; 8 + version = "0.44.1"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "aquasecurity"; 12 12 repo = pname; 13 - rev = "v${version}"; 14 - sha256 = "sha256-qxtYYFhABrkJlwWBx4ak7xnaqg7x+D1fUF1gcJFK0e4="; 13 + rev = "refs/tags/v${version}"; 14 + hash = "sha256-zSrXfSG9GXReJ+XRx7FTBZovSvNq725zzWMje3maTx4="; 15 15 }; 16 + 16 17 # hash missmatch on across linux and darwin 17 18 proxyVendor = true; 18 - vendorHash = "sha256-mE+GpD9vMhjVQsH+mckU6GhNiLMDV5H31Jj1/HLBSEs="; 19 + 20 + vendorHash = "sha256-CEr8UvQtKZo5jahLeLx3RYT592i6SwwNLRA4IRD0mYU="; 19 21 20 22 subPackages = [ "cmd/trivy" ]; 21 23 22 24 ldflags = [ 23 25 "-s" 24 26 "-w" 25 - "-X main.version=v${version}" 27 + "-X=main.version=v${version}" 26 28 ]; 27 29 28 30 # Tests require network access ··· 49 51 application dependencies (Bundler, Composer, npm, yarn, etc.). 50 52 ''; 51 53 license = licenses.asl20; 52 - maintainers = with maintainers; [ jk ]; 54 + maintainers = with maintainers; [ fab jk ]; 53 55 }; 54 56 }