2020-04-23 09:41:04 +02:00
|
|
|
{ stdenv, go, buildGoModule, fetchgit }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gopls";
|
2020-08-07 22:29:34 +02:00
|
|
|
version = "0.4.4";
|
2020-04-23 09:41:04 +02:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
rev = "gopls/v${version}";
|
|
|
|
url = "https://go.googlesource.com/tools";
|
2020-08-07 22:29:34 +02:00
|
|
|
sha256 = "1h4ica6rwrdp5wg4ybpzvyvszj4m5l6w9hpvd9r2qcd9qdnqlykf";
|
2020-04-23 09:41:04 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
modRoot = "gopls";
|
2020-08-07 22:29:34 +02:00
|
|
|
vendorSha256 = "175051d858lsdir2hj5qcimp6hakbi9grpws1ssvk3r2jna27x1z";
|
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;
|
2020-07-16 14:32:18 +02:00
|
|
|
maintainers = with maintainers; [ mic92 zimbatm ];
|
2020-04-23 09:41:04 +02:00
|
|
|
};
|
2020-07-16 14:32:18 +02:00
|
|
|
}
|