nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at litex 25 lines 594 B view raw
1{ lib 2, buildGoModule 3, fetchFromGitHub 4}: 5 6buildGoModule rec { 7 pname = "credential-detector"; 8 version = "1.11.0"; 9 10 src = fetchFromGitHub { 11 owner = "ynori7"; 12 repo = pname; 13 rev = "v${version}"; 14 sha256 = "sha256-zUQRzlp/7gZhCm5JYu9kYxcoFjDldCYKarRorOHa3E0="; 15 }; 16 17 vendorSha256 = "sha256-VWmfATUbfnI3eJbFTUp6MR1wGESuI15PHZWuon5M5rg="; 18 19 meta = with lib; { 20 description = "Tool to detect potentially hard-coded credentials"; 21 homepage = "https://github.com/ynori7/credential-detector"; 22 license = licenses.mit; 23 maintainers = with maintainers; [ fab ]; 24 }; 25}