diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-09-29 10:40:47 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-09-29 10:40:47 +0200 |
commit | a35c28c10984a634df4195ebc8ab71bd39ba3c25 (patch) | |
tree | 5d4156212e21830c7acd19a8778e13b83ef611d8 /pkgs/tools/security/go365 | |
parent | 7c1a58a6300663f28bf6ee9835eeb607d648239c (diff) |
go365: init at 1.4
Diffstat (limited to 'pkgs/tools/security/go365')
-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 ]; + }; +} |