2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2018-03-12 14:46:13 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-03-22 06:50:41 +01:00
|
|
|
pname = "go-langserver";
|
|
|
|
version = "2.0.0";
|
2018-03-12 14:46:13 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/sourcegraph/go-langserver";
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-03-22 06:50:41 +01:00
|
|
|
rev = "v${version}";
|
2018-03-12 14:46:13 +01:00
|
|
|
owner = "sourcegraph";
|
|
|
|
repo = "go-langserver";
|
2019-03-22 06:50:41 +01:00
|
|
|
sha256 = "1wv7xf81s3qi8xydxjkkp8vacdzrq8sbj04346fz73nsn85z0sgp";
|
2018-03-12 14:46:13 +01:00
|
|
|
};
|
|
|
|
|
2021-01-23 13:26:19 +01:00
|
|
|
meta = with lib; {
|
2018-03-12 14:46:13 +01:00
|
|
|
description = "A Go language server protocol server";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/sourcegraph/go-langserver";
|
2018-03-12 14:46:13 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ johnchildren ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|