2020-04-23 08:41:04 +01:00
|
|
|
{ stdenv, go, buildGoModule, fetchgit }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gopls";
|
2020-07-16 13:32:18 +01:00
|
|
|
version = "0.4.3";
|
2020-04-23 08:41:04 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
rev = "gopls/v${version}";
|
|
|
|
url = "https://go.googlesource.com/tools";
|
2020-07-16 13:32:18 +01:00
|
|
|
sha256 = "1r670c7p63l0fhx671r3mb1jgvvfv1382079fv59z07j5j5hizbc";
|
2020-04-23 08:41:04 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
modRoot = "gopls";
|
2020-07-16 13:32:18 +01:00
|
|
|
vendorSha256 = "1xdvkdkvk7a32jspzjcgxkfdn78d2zm53wxmc9c4sqysxsgy6lbw";
|
2020-04-23 08:41:04 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Official language server for the Go language";
|
|
|
|
homepage = "https://github.com/golang/tools/tree/master/gopls";
|
|
|
|
license = licenses.bsd3;
|
2020-07-16 13:32:18 +01:00
|
|
|
maintainers = with maintainers; [ mic92 zimbatm ];
|
2020-04-23 08:41:04 +01:00
|
|
|
};
|
2020-07-16 13:32:18 +01:00
|
|
|
}
|