3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/gopls/default.nix

29 lines
758 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2020-04-23 08:41:04 +01:00
buildGoModule rec {
pname = "gopls";
2021-12-31 05:10:33 +00:00
version = "0.7.4";
2020-04-23 08:41:04 +01:00
src = fetchFromGitHub {
owner = "golang";
repo = "tools";
rev = "gopls/v${version}";
2021-12-31 05:10:33 +00:00
sha256 = "sha256-tpJkEq3TuEiJ4bChlWXi2241WMcZjChEt1hV1G+h8f8=";
2020-04-23 08:41:04 +01:00
};
modRoot = "gopls";
2021-12-31 05:10:33 +00:00
vendorSha256 = "sha256-MEL3VRHPSf1Im09Hw+GX+3J3UGt7j29V4kxzoiWhqfk=";
2020-04-23 08:41:04 +01:00
doCheck = false;
# Only build gopls, and not the integration tests or documentation generator.
subPackages = [ "." ];
meta = with lib; {
2020-04-23 08:41:04 +01:00
description = "Official language server for the Go language";
homepage = "https://github.com/golang/tools/tree/master/gopls";
license = licenses.bsd3;
maintainers = with maintainers; [ mic92 SuperSandro2000 zimbatm ];
2020-04-23 08:41:04 +01:00
};
2020-07-16 13:32:18 +01:00
}