Unverified Commit 5c0f50f4 authored by Nikolay Korotkiy's avatar Nikolay Korotkiy Committed by GitHub
Browse files

gotools: 0.34.0 -> 0.44.0 (#508985)

parents 2263efc4 7ce2f610
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -8,20 +8,20 @@

buildGoModule (finalAttrs: {
  pname = "gotools";
  version = "0.34.0";
  version = "0.44.0";

  # using GitHub instead of https://go.googlesource.com/tools because Gitiles UI is too basic to browse
  src = fetchFromGitHub {
    owner = "golang";
    repo = "tools";
    tag = "v${finalAttrs.version}";
    hash = "sha256-C+P2JoD4NzSAkAQuA20bVrfLZrMHXekvXn8KPOM5Nj4=";
    hash = "sha256-F9DyZAZdrKCrCIB6FZP0KrOwPNRLk0ZQoNMHGMHd0UY=";
  };

  allowGoReference = true;
  doCheck = false;

  vendorHash = "sha256-UZNYHx5y+kRp3AJq6s4Wy+k789GDG7FBTSzCTorVjgg=";
  vendorHash = "sha256-HpWkPsRJ0vCqJi9LoZcVbzeoPQ2B9ftZwuS1r47W7Sc=";

  nativeBuildInputs = [ makeWrapper ];

@@ -29,8 +29,6 @@ buildGoModule (finalAttrs: {
    # The gopls folder contains a Go submodule which causes a build failure
    # and lives in its own package named gopls.
    rm -r gopls
    # cmd/auth folder is similar and is scheduled to be removed https://github.com/golang/go/issues/70872
    rm -r cmd/auth
  '';

  # Set GOTOOLDIR for derivations adding this to buildInputs