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