audiobookshelf: 2.18.1 -> 2.19.0 (#378967)
[NixPkgs.git] / pkgs / by-name / gi / git-hound / package.nix
blob67431b03b747485067149aa0802395b60000fae5
2   buildGoModule,
3   fetchFromGitHub,
4   fetchpatch,
5   lib,
6 }:
8 buildGoModule rec {
9   pname = "git-hound";
10   version = "1.7.2";
12   src = fetchFromGitHub {
13     owner = "tillson";
14     repo = pname;
15     rev = "v${version}";
16     hash = "sha256-W+rYDyRIw4jWWO4UZkUHFq/D/7ZXM+y5vdbclk6S0ro=";
17   };
19   patches = [
20     # https://github.com/tillson/git-hound/pull/66
21     (fetchpatch {
22       url = "https://github.com/tillson/git-hound/commit/cd8aa19401cfdec9e4d76c1f6eb4d85928ec4b03.patch";
23       hash = "sha256-EkdR2KkxxlMLNtKFGpxsQ/msJT5NcMF7irIUcU2WWJY=";
24     })
25   ];
27   # tests fail outside of nix
28   doCheck = false;
30   vendorHash = "sha256-8teIa083oMXm0SjzMP+mGOVAel1Hbsp3TSMhdvqVbQs=";
32   meta = with lib; {
33     description = "Reconnaissance tool for GitHub code search";
34     longDescription = ''
35       GitHound pinpoints exposed API keys and other sensitive information
36       across all of GitHub using pattern matching, commit history searching,
37       and a unique result scoring system.
38     '';
39     homepage = "https://github.com/tillson/git-hound";
40     license = with licenses; [ mit ];
41     maintainers = with maintainers; [ fab ];
42     mainProgram = "git-hound";
43   };