about summary refs log tree commit diff
path: root/pkgs/tools/security
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-02-17 06:14:47 +0000
committerGitHub <noreply@github.com>2021-02-17 06:14:47 +0000
commit3ed237717a89c5aaf617ce3ae23a2876c7f36de8 (patch)
tree3cf4b91e80c7aeafc2d734eb3345492da4a69e05 /pkgs/tools/security
parent79b7a67b55ee7f22a796720643ec8b1b65b2f8ed (diff)
parentbf11a28bd3abc5fdd6e830bceff7dd06daa72d73 (diff)
Merge master into staging-next
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r--pkgs/tools/security/shhgit/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/security/shhgit/default.nix b/pkgs/tools/security/shhgit/default.nix
new file mode 100644
index 0000000000000..a05eba1282c16
--- /dev/null
+++ b/pkgs/tools/security/shhgit/default.nix
@@ -0,0 +1,26 @@
+{ lib
+, buildGoModule
+, fetchFromGitHub
+}:
+
+buildGoModule rec {
+  pname = "shhgit";
+  version = "0.4-${lib.strings.substring 0 7 rev}";
+  rev = "7e55062d10d024f374882817692aa2afea02ff84";
+
+  src = fetchFromGitHub {
+    owner = "eth0izzle";
+    repo = pname;
+    inherit rev;
+    sha256 = "1b7r4ivfplm4crlvx571nyz2rc6djy0xvl14nz7m0ngh6206df9k";
+  };
+
+  vendorSha256 = "0isa9faaknm8c9mbyj5dvf1dfnyv44d1pjd2nbkyfi6b22hcci3d";
+
+  meta = with lib; {
+    description = "Tool to detect secrets in repositories";
+    homepage = "https://github.com/eth0izzle/shhgit";
+    license = with licenses; [ mit ];
+    maintainers = with maintainers; [ fab ];
+  };
+}