Skip to content

Instantly share code, notes, and snippets.

@tstelzer
Last active May 3, 2021 13:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tstelzer/01c6e8b932b3aa09f4b7486b76bafaa8 to your computer and use it in GitHub Desktop.
Save tstelzer/01c6e8b932b3aa09f4b7486b76bafaa8 to your computer and use it in GitHub Desktop.
efm-languageserver derivation
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "efm-languageserver";
version = "0.0.29";
src = fetchFromGitHub {
owner = "mattn";
repo = "efm-langserver";
rev = "v${version}";
sha256 = "0zz63w5g8siaip0fqc5mqx7y6kcvi9c2k2w6xz8wrl3kicbwcvgw";
};
vendorSha256 = "1whifjmdl72kkcb22h9b1zadsrc80prrjiyvyba2n5vb4kavximm";
modRoot = ".";
deleteVendor = false;
runVend = false;
doCheck = true;
preBuild = "export GOPROXY=https://proxy.golang.org";
meta = with lib; {
description = "General purpose Language Server that can use specified error message format generated from specified command.";
homepage = "https://github.com/mattn/efm-langserver";
license = licenses.mit;
platforms = platforms.linux ++ platforms.darwin;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment