summary refs log tree commit diff
path: root/pkgs/tools/security/git-hound
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-01-19 21:57:12 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2021-01-19 21:57:12 +0100
commitc1d1b478ff16198c0363680b736931f4ef4a77e3 (patch)
tree74c08e922eddd9d7077f42f17bbac6ebb546198b /pkgs/tools/security/git-hound
parentdd3238c002f51c2ab8fc325bf4fa330a29c64ed6 (diff)
downloadnixpkgs-c1d1b478ff16198c0363680b736931f4ef4a77e3.tar
nixpkgs-c1d1b478ff16198c0363680b736931f4ef4a77e3.tar.gz
nixpkgs-c1d1b478ff16198c0363680b736931f4ef4a77e3.tar.bz2
nixpkgs-c1d1b478ff16198c0363680b736931f4ef4a77e3.tar.lz
nixpkgs-c1d1b478ff16198c0363680b736931f4ef4a77e3.tar.xz
nixpkgs-c1d1b478ff16198c0363680b736931f4ef4a77e3.tar.zst
nixpkgs-c1d1b478ff16198c0363680b736931f4ef4a77e3.zip
git-hound: init at 1.3
Diffstat (limited to 'pkgs/tools/security/git-hound')
-rw-r--r--pkgs/tools/security/git-hound/default.nix30
1 files changed, 30 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 00000000000..56fa2ce4763
--- /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 ];
+  };
+}