nixpkgs/pkgs/development/tools/gopls/default.nix

22 lines
614 B
Nix
Raw Normal View History

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