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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
763 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2020-04-23 08:41:04 +01:00
buildGoModule rec {
2020-04-23 08:41:04 +01:00
pname = "gopls";
2022-08-16 03:55:17 +01:00
version = "0.9.4";
2020-04-23 08:41:04 +01:00
src = fetchFromGitHub {
owner = "golang";
repo = "tools";
rev = "gopls/v${version}";
2022-08-16 03:55:17 +01:00
sha256 = "sha256-4bhKNMhC8kLRpS5DR6tLF7MgDX4LDeSKoeXcPYC2ywE=";
2020-04-23 08:41:04 +01:00
};
modRoot = "gopls";
2022-08-16 03:55:17 +01:00
vendorSha256 = "sha256-r7XM7VX0VzFlUqrtvaQaiUXXiD1Vz4C3hmxRMonORAw=";
2020-04-23 08:41:04 +01:00
doCheck = false;
# Only build gopls, and not the integration tests or documentation generator.
subPackages = [ "." ];
meta = with lib; {
2020-04-23 08:41:04 +01:00
description = "Official language server for the Go language";
homepage = "https://github.com/golang/tools/tree/master/gopls";
license = licenses.bsd3;
maintainers = with maintainers; [ mic92 rski SuperSandro2000 zimbatm ];
2020-04-23 08:41:04 +01:00
};
2020-07-16 13:32:18 +01:00
}