summary refs log tree commit diff
path: root/pkgs/development/tools/go-langserver/default.nix
blob: c6a0dcc0d9da5c26c4032039357ef2216e311942 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, buildGoPackage, fetchFromGitHub }:

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";
  };

  meta = with stdenv.lib; {
    description = "A Go language server protocol server";
    homepage = "https://github.com/sourcegraph/go-langserver";
    license = licenses.mit;
    maintainers = with maintainers; [ johnchildren ];
    platforms = platforms.unix;
  };
}