mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
3f2a3dd3e9
Quite a few critical bugfixes and some new features since 0.6.2. https://github.com/golang/tools/releases/tag/gopls%2Fv0.6.10
28 lines
736 B
Nix
28 lines
736 B
Nix
{ lib, buildGoModule, fetchgit }:
|
|
|
|
buildGoModule rec {
|
|
pname = "gopls";
|
|
version = "0.6.10";
|
|
|
|
src = fetchgit {
|
|
rev = "gopls/v${version}";
|
|
url = "https://go.googlesource.com/tools";
|
|
sha256 = "13mv6rvqlmgn1shx0hnlqxgqiiiz1ij37j30jz1jkr9kcrbxpacr";
|
|
};
|
|
|
|
modRoot = "gopls";
|
|
vendorSha256 = "01apsvkds8f3m88inb37z4lgalrbjp12xr2jikwx7n10hjddgbqi";
|
|
|
|
doCheck = false;
|
|
|
|
# Only build gopls, and not the integration tests or documentation generator.
|
|
subPackages = [ "." ];
|
|
|
|
meta = with 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 zimbatm ];
|
|
};
|
|
}
|