2020-04-23 09:41:04 +02:00
|
|
|
{ stdenv, go, buildGoModule, fetchgit }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gopls";
|
2020-05-15 11:33:55 +02:00
|
|
|
version = "0.4.1";
|
2020-04-23 09:41:04 +02:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
rev = "gopls/v${version}";
|
|
|
|
url = "https://go.googlesource.com/tools";
|
2020-05-15 11:33:55 +02:00
|
|
|
sha256 = "18migk7arxm8ysfzidl7mdr069fxym9bfi6zisj7dliczw0qnkzv";
|
2020-04-23 09:41:04 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
modRoot = "gopls";
|
2020-05-15 11:33:55 +02:00
|
|
|
vendorSha256 = "1jaav6c5vybgks5hc164is0i7h097c5l75s7w3wi5a3zyzkbiyny";
|
2020-04-23 09:41:04 +02: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;
|
|
|
|
maintainers = with maintainers; [ mic92 ];
|
|
|
|
};
|
2020-05-01 03:59:00 +02:00
|
|
|
}
|