2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "go-langserver";
|
|
|
|
version = "2.0.0";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/sourcegraph/go-langserver";
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "sourcegraph";
|
|
|
|
repo = "go-langserver";
|
|
|
|
sha256 = "1wv7xf81s3qi8xydxjkkp8vacdzrq8sbj04346fz73nsn85z0sgp";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A Go language server protocol server";
|
|
|
|
homepage = "https://github.com/sourcegraph/go-langserver";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ johnchildren ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|