2020-08-25 13:38:00 +02:00
|
|
|
{ stdenv, buildGoModule, fetchgit }:
|
2020-04-23 09:41:04 +02:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gopls";
|
2020-10-16 17:17:32 +02:00
|
|
|
version = "0.5.1";
|
2020-04-23 09:41:04 +02:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
rev = "gopls/v${version}";
|
|
|
|
url = "https://go.googlesource.com/tools";
|
2020-10-16 17:17:32 +02:00
|
|
|
sha256 = "1vnidc8kaisdyprylsibddpdksm84c6qr528768yvi93crdmddls";
|
2020-04-23 09:41:04 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
modRoot = "gopls";
|
2020-10-16 17:17:32 +02:00
|
|
|
vendorSha256 = "048qs6ygav8al3sz9vwf6fqaahkr8wr3dj1yd2jhr7c5h30n4rs2";
|
2020-04-23 09:41:04 +02:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
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
|
|
|
}
|