3a4df29a92
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
28 lines
763 B
Nix
28 lines
763 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "gopls";
|
|
version = "0.8.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "golang";
|
|
repo = "tools";
|
|
rev = "gopls/v${version}";
|
|
sha256 = "sha256-3JI6jrWCOgfFefivSDWz3yets4CXnDsvE/iYYms+piU=";
|
|
};
|
|
|
|
modRoot = "gopls";
|
|
vendorSha256 = "sha256-7SkCRu4CGvb0TaL9BR2eeNjGNwViFh6TgtUUxiRjDxA=";
|
|
|
|
doCheck = false;
|
|
|
|
# Only build gopls, and not the integration tests or documentation generator.
|
|
subPackages = [ "." ];
|
|
|
|
meta = with lib; {
|
|
description = "Official language server for the Go language";
|
|
homepage = "https://github.com/golang/tools/tree/master/gopls";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ mic92 rski SuperSandro2000 zimbatm ];
|
|
};
|
|
}
|