9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
27 lines
618 B
Nix
27 lines
618 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "credential-detector";
|
|
version = "1.14.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ynori7";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-20ySTLpjTc1X0iJsbzbeLmWF0xYzzREGOqEWrB2X1GQ=";
|
|
};
|
|
|
|
vendorHash = "sha256-VWmfATUbfnI3eJbFTUp6MR1wGESuI15PHZWuon5M5rg=";
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
meta = with lib; {
|
|
description = "Tool to detect potentially hard-coded credentials";
|
|
homepage = "https://github.com/ynori7/credential-detector";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|