summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-01-19 23:41:26 +0100
committerGitHub <noreply@github.com>2021-01-19 23:41:26 +0100
commit53b4872ff28cee7291408cd969a8315ab460a1ac (patch)
tree262ae7400d7f53d3cbc5b5038b1942b2ee8be3a4 /pkgs
parentdb942b99ecf1c6a705f86b3f93b71f43d0e7f065 (diff)
parentc1d1b478ff16198c0363680b736931f4ef4a77e3 (diff)
Merge pull request #110013 from fabaff/git-hound
git-hound: init at 1.3
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/security/git-hound/default.nix30
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/security/git-hound/default.nix b/pkgs/tools/security/git-hound/default.nix
new file mode 100644
index 000000000000..56fa2ce47636
--- /dev/null
+++ b/pkgs/tools/security/git-hound/default.nix
@@ -0,0 +1,30 @@
+{ buildGoModule
+, fetchFromGitHub
+, lib
+}:
+
+buildGoModule rec {
+ pname = "git-hound";
+ version = "1.3";
+
+ src = fetchFromGitHub {
+ owner = "tillson";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "1l2bif7qpc1yl93ih01g9jci7ba47rsnpq9js88rz216q93dzmsf";
+ };
+
+ vendorSha256 = "055hpfjbqng513c9rscb8jhnlxj7p82sr8cbsvwnzk569n71qwma";
+
+ 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 ];
+ };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 96aa229a1c04..abfc969bea71 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -4427,6 +4427,8 @@ in
inherit (darwin.apple_sdk.frameworks) Security;
};
+ git-hound = callPackage ../tools/security/git-hound { };
+
git-hub = callPackage ../applications/version-management/git-and-tools/git-hub { };
git-ignore = callPackage ../applications/version-management/git-and-tools/git-ignore { };