3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/gopls/default.nix

28 lines
745 B
Nix
Raw Normal View History

{ stdenv, buildGoModule, fetchgit }:
2020-04-23 08:41:04 +01:00
buildGoModule rec {
pname = "gopls";
2020-11-17 17:43:25 +00:00
version = "0.5.3";
2020-04-23 08:41:04 +01:00
src = fetchgit {
rev = "gopls/v${version}";
url = "https://go.googlesource.com/tools";
2020-11-17 17:43:25 +00:00
sha256 = "04dkrvk5190kyfa9swxpl0m3xq9g90qp8j7yxhi87wyb8giqbll2";
2020-04-23 08:41:04 +01:00
};
modRoot = "gopls";
2020-11-17 17:43:25 +00:00
vendorSha256 = "0ml8n6qnq9nprn7kv138qy0i2q8qawzd0lhh3v2qw39j0aj5fb7z";
2020-04-23 08:41:04 +01:00
doCheck = false;
# Only build gopls, and not the integration tests or documentation generator.
subPackages = [ "." ];
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
}