Fabian Affolter 2023-05-20 23:12:55 +02:00
parent 7721e0d2c1
commit a4f499852b

View File

@ -6,16 +6,16 @@
buildGoModule rec {
pname = "go365";
version = "1.4";
version = "2.0";
src = fetchFromGitHub {
owner = "optiv";
repo = "Go365";
rev = version;
sha256 = "0dh89hf00fr62gjdw2lb1ncdxd26nvlsh2s0i6981bp8xfg2pk5r";
rev = "refs/tags/v${version}";
hash = "sha256-jmsbZrqc6XogUhuEWcU59v88id2uLqN/68URwylzWZI=";
};
vendorSha256 = "0fx2966xfzmi8yszw1cq6ind3i2dvacdwfs029v3bq0n8bvbm3r2";
vendorHash = "sha256-Io+69kIW4DV2EkA73pjaTcTRbDSYBf61R7F+141Jojs=";
postInstall = lib.optionalString (!stdenv.isDarwin) ''
mv $out/bin/Go365 $out/bin/$pname
@ -24,6 +24,7 @@ buildGoModule rec {
meta = with lib; {
description = "Office 365 enumeration tool";
homepage = "https://github.com/optiv/Go365";
changelog = "https://github.com/optiv/Go365/releases/tag/v${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
mainProgram = "Go365";