diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-02-17 04:16:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-17 04:16:52 +0100 |
commit | 78f8539ac4486f6e91ef519f5eef822b1e52e83e (patch) | |
tree | 78860f3429cf97c52f6ffc7f91bf148b98e8c5fd /pkgs/tools/security | |
parent | c340f37acbca32b989eb4c9712f9732b9d0e0b8d (diff) | |
parent | b8b11232670c549ca81e4356c63ab6c2c463b3e1 (diff) |
Merge pull request #113284 from fabaff/shhgit
shhgit: init at 0.4-7e55062
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r-- | pkgs/tools/security/shhgit/default.nix | 26 |
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 ]; + }; +} |