nixpkgs/pkgs/development/tools/gopls/default.nix
2020-07-16 14:32:18 +02:00

23 lines
623 B
Nix

{ stdenv, go, buildGoModule, fetchgit }:
buildGoModule rec {
pname = "gopls";
version = "0.4.3";
src = fetchgit {
rev = "gopls/v${version}";
url = "https://go.googlesource.com/tools";
sha256 = "1r670c7p63l0fhx671r3mb1jgvvfv1382079fv59z07j5j5hizbc";
};
modRoot = "gopls";
vendorSha256 = "1xdvkdkvk7a32jspzjcgxkfdn78d2zm53wxmc9c4sqysxsgy6lbw";
meta = with stdenv.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 zimbatm ];
};
}