tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
trivy: 0.20.2 -> 0.21.0
Fabian Affolter
4 years ago
a8f57f2c
90bb5d0e
+10
-5
1 changed file
expand all
collapse all
unified
split
pkgs
tools
admin
trivy
default.nix
+10
-5
pkgs/tools/admin/trivy/default.nix
···
1
1
-
{ lib, buildGoModule, fetchFromGitHub }:
1
1
+
{ lib
2
2
+
, buildGoModule
3
3
+
, fetchFromGitHub
4
4
+
}:
2
5
3
6
buildGoModule rec {
4
7
pname = "trivy";
5
5
-
version = "0.20.2";
8
8
+
version = "0.21.0";
6
9
7
10
src = fetchFromGitHub {
8
11
owner = "aquasecurity";
9
12
repo = pname;
10
13
rev = "v${version}";
11
11
-
sha256 = "sha256-ittOVWsM+1IaILCLCJNOeLxRbRHiiMN4qgLTS9gxV0w=";
14
14
+
sha256 = "sha256-weLzW1pyv9q9VKvFxno+f/L29wlpvxlVUZJUwx6Gn2A=";
12
15
};
13
16
14
14
-
vendorSha256 = "sha256-HrDj09gUJtkZhQ3nYfoj0K8+T62ib0CWAhhcuvg8cyc=";
17
17
+
vendorSha256 = "sha256-1kQ2m8gFBHKznbjNPtYN0BVrRbxyCs2H1f7+XZqgVvc=";
15
18
16
19
excludedPackages = "misc";
17
20
18
21
ldflags = [
19
19
-
"-s" "-w" "-X main.version=v${version}"
22
22
+
"-s"
23
23
+
"-w"
24
24
+
"-X main.version=v${version}"
20
25
];
21
26
22
27
doInstallCheck = true;