Skip to content

Commit 0238df3

Browse files
authored
Merge pull request #332297 from r-ryantm/auto-update/zlint
zlint: 3.6.2 -> 3.6.3
2 parents 81c30d3 + a59858e commit 0238df3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pkgs/tools/security/zlint/default.nix

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77

88
buildGoModule rec {
99
pname = "zlint";
10-
version = "3.6.2";
10+
version = "3.6.3";
1111

1212
src = fetchFromGitHub {
1313
owner = "zmap";
1414
repo = "zlint";
15-
rev = "v${version}";
16-
hash = "sha256-UwtWYDWbln64nE4KDV+gWIhhdbyvlrs0fM96otnfqfE=";
15+
rev = "refs/tags/v${version}";
16+
hash = "sha256-N199sSxe06nm0CInTYAuwRgoq7hN7IQpHz5ERUSpk3M=";
1717
};
1818

1919
modRoot = "v3";
2020

21-
vendorHash = "sha256-LP7I7NY/Am6zWfVSvwJanCFwiLfcHKA3Fb9RIMD76a0=";
21+
vendorHash = "sha256-RX7B9RyNmEO9grMR9Mqn1jXDH5sgT0QDvdhXgY1HYtQ=";
2222

2323
postPatch = ''
2424
# Remove a package which is not declared in go.mod.
@@ -32,7 +32,7 @@ buildGoModule rec {
3232
ldflags = [
3333
"-s"
3434
"-w"
35-
"-X main.version=${version}"
35+
"-X=main.version=${version}"
3636
];
3737

3838
passthru.tests.version = testers.testVersion {

0 commit comments

Comments
 (0)