diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-09-29 14:54:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-29 14:54:55 +0200 |
commit | 63a8ef3f8ae4911a1611a4c2971167dc3df798b3 (patch) | |
tree | a25dc9facc306ae24cf01a1f70f0104eb262716d /pkgs/tools | |
parent | 4600c3e3c40ec78cef6dd11e4882bc7c13291087 (diff) | |
parent | a35c28c10984a634df4195ebc8ab71bd39ba3c25 (diff) |
Merge pull request #139857 from fabaff/go365
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/security/go365/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/security/go365/default.nix b/pkgs/tools/security/go365/default.nix new file mode 100644 index 0000000000000..432dfb49da1ee --- /dev/null +++ b/pkgs/tools/security/go365/default.nix @@ -0,0 +1,29 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "go365"; + version = "1.4"; + + src = fetchFromGitHub { + owner = "optiv"; + repo = "Go365"; + rev = version; + sha256 = "0dh89hf00fr62gjdw2lb1ncdxd26nvlsh2s0i6981bp8xfg2pk5r"; + }; + + vendorSha256 = "0fx2966xfzmi8yszw1cq6ind3i2dvacdwfs029v3bq0n8bvbm3r2"; + + postInstall = '' + mv $out/bin/Go365 $out/bin/$pname + ''; + + meta = with lib; { + description = "Office 365 enumeration tool"; + homepage = "https://github.com/optiv/Go365"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} |