2021-02-05 17:12:51 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "git-hound";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "1.4";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tillson";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-08-12 12:06:08 +00:00
|
|
|
sha256 = "sha256-HD5OK8HjnLDbyC/TmVI2HfBRIUCyyHTbA3JvKoeXV5E=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = null;
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Reconnaissance tool for GitHub code search";
|
|
|
|
longDescription = ''
|
|
|
|
GitHound pinpoints exposed API keys and other sensitive information
|
|
|
|
across all of GitHub using pattern matching, commit history searching,
|
|
|
|
and a unique result scoring system.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/tillson/git-hound";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2023-08-04 22:07:22 +00:00
|
|
|
broken = true; # vendor isn't reproducible with go > 1.17: nix-build -A $name.goModules --check
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
}
|