tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
credential-detector: 1.11.0 -> 1.14.3
Aaron Jheng
2 years ago
3bd4979a
2c8591ad
+5
-3
1 changed file
expand all
collapse all
unified
split
pkgs
tools
security
credential-detector
default.nix
+5
-3
pkgs/tools/security/credential-detector/default.nix
···
5
5
6
6
buildGoModule rec {
7
7
pname = "credential-detector";
8
8
-
version = "1.11.0";
8
8
+
version = "1.14.3";
9
9
10
10
src = fetchFromGitHub {
11
11
owner = "ynori7";
12
12
repo = pname;
13
13
rev = "v${version}";
14
14
-
sha256 = "sha256-zUQRzlp/7gZhCm5JYu9kYxcoFjDldCYKarRorOHa3E0=";
14
14
+
hash = "sha256-20ySTLpjTc1X0iJsbzbeLmWF0xYzzREGOqEWrB2X1GQ=";
15
15
};
16
16
17
17
-
vendorSha256 = "sha256-VWmfATUbfnI3eJbFTUp6MR1wGESuI15PHZWuon5M5rg=";
17
17
+
vendorHash = "sha256-VWmfATUbfnI3eJbFTUp6MR1wGESuI15PHZWuon5M5rg=";
18
18
+
19
19
+
ldflags = [ "-s" "-w" ];
18
20
19
21
meta = with lib; {
20
22
description = "Tool to detect potentially hard-coded credentials";