Unverified Commit 764cbc09 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #233096 from fabaff/go365-bump

go365: 1.4 -> 2.0
parents 5258c105 a4f49985
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -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";