depot/third_party/nixpkgs/pkgs/development/tools/go-langserver/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

24 lines
641 B
Nix

{ lib, 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 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;
};
}