2020-08-25 12:38:00 +01:00
|
|
|
{ stdenv, buildGoModule, fetchgit }:
|
2020-04-23 08:41:04 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gopls";
|
2020-09-18 17:28:49 +01:00
|
|
|
version = "0.5.0";
|
2020-04-23 08:41:04 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
rev = "gopls/v${version}";
|
|
|
|
url = "https://go.googlesource.com/tools";
|
2020-09-18 17:28:49 +01:00
|
|
|
sha256 = "150jg1qmdszfvh1x5fagawgc24xy19xjg9y1hq3drwy7lfdnahmq";
|
2020-04-23 08:41:04 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
modRoot = "gopls";
|
2020-09-18 17:28:49 +01:00
|
|
|
vendorSha256 = "1s3d4hnbw0mab7njck79qmgkjn87vs4ffk44zk2qdrzqjjlqq5iv";
|
2020-04-23 08:41:04 +01:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
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
|
|
|
}
|