Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
45 lines
1.1 KiB
Nix
45 lines
1.1 KiB
Nix
{
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
fetchpatch,
|
|
lib,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "git-hound";
|
|
version = "1.7.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tillson";
|
|
repo = "git-hound";
|
|
rev = "v${version}";
|
|
hash = "sha256-W+rYDyRIw4jWWO4UZkUHFq/D/7ZXM+y5vdbclk6S0ro=";
|
|
};
|
|
|
|
patches = [
|
|
# https://github.com/tillson/git-hound/pull/66
|
|
(fetchpatch {
|
|
url = "https://github.com/tillson/git-hound/commit/cd8aa19401cfdec9e4d76c1f6eb4d85928ec4b03.patch";
|
|
hash = "sha256-EkdR2KkxxlMLNtKFGpxsQ/msJT5NcMF7irIUcU2WWJY=";
|
|
})
|
|
];
|
|
|
|
# tests fail outside of nix
|
|
doCheck = false;
|
|
|
|
vendorHash = "sha256-8teIa083oMXm0SjzMP+mGOVAel1Hbsp3TSMhdvqVbQs=";
|
|
|
|
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 ];
|
|
mainProgram = "git-hound";
|
|
};
|
|
}
|