1 { lib, buildGoModule, fetchFromGitHub }:
7 src = fetchFromGitHub {
10 rev = "gopls/v${version}";
11 sha256 = "sha256-9WDqd8Xgiov/OFAFl5yZmon4o3grbOxzZs3wnNu7pbg=";
15 vendorSha256 = "sha256-EZ/XPta2vQfemywoC2kbTamJ43K4tr4I7mwVzrTbRkA=";
19 # Only build gopls, and not the integration tests or documentation generator.
20 subPackages = [ "." ];
23 description = "Official language server for the Go language";
24 homepage = "https://github.com/golang/tools/tree/master/gopls";
25 license = licenses.bsd3;
26 maintainers = with maintainers; [ mic92 rski SuperSandro2000 zimbatm ];