Unverified Commit afd88641 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

gopls: 0.18.1 -> 0.19.0 (#417503)

parents 4be9167a 32a9c6ed
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -11,27 +11,26 @@

buildGoLatestModule (finalAttrs: {
  pname = "gopls";
  version = "0.18.1";
  version = "0.19.0";

  src = fetchFromGitHub {
    owner = "golang";
    repo = "tools";
    tag = "gopls/v${finalAttrs.version}";
    hash = "sha256-5w6R3kaYwrZyhIYjwLqfflboXT/z3HVpZiowxeUyaWg=";
    hash = "sha256-2K93S7ApzHmsbeReKoSmIhgXuZR3oFODiTWDTO5wDOU=";
  };

  modRoot = "gopls";
  vendorHash = "sha256-/tca93Df90/8K1dqhOfUsWSuFoNfg9wdWy3csOtFs6Y=";
  vendorHash = "sha256-uWbcf/PadGXw2ryg6GjJrHzrZ88kKzfhr6gtYsLTvkg=";

  # https://github.com/golang/tools/blob/9ed98faa/gopls/main.go#L27-L30
  ldflags = [ "-X main.version=v${finalAttrs.version}" ];

  doCheck = false;

  # Only build gopls, gofix, modernize, and not the integration tests or documentation generator.
  # Only build gopls & modernize, not the integration tests or documentation generator.
  subPackages = [
    "."
    "internal/analysis/gofix/cmd/gofix"
    "internal/analysis/modernize/cmd/modernize"
  ];