8 pname = "arduino-language-server";
11 src = fetchFromGitHub {
13 repo = "arduino-language-server";
14 rev = "refs/tags/${version}";
15 hash = "sha256-PmPGhbB1HqxZRK+f28SdZNh4HhE0oseYsdJuEAAk90I=";
18 subPackages = [ "." ];
20 vendorHash = "sha256-tS6OmH757VDdViPHJAJAftQu+Y1YozE7gXkt5anDlT0=";
27 "-X github.com/arduino/arduino-language-server/version.versionString=${version}"
28 "-X github.com/arduino/arduino-language-server/version.commit=unknown"
29 ] ++ lib.optionals stdenv.isLinux [
30 "-extldflags '-static'"
34 description = "An Arduino Language Server based on Clangd to Arduino code autocompletion";
35 mainProgram = "arduino-language-server";
36 homepage = "https://github.com/arduino/arduino-language-server";
37 changelog = "https://github.com/arduino/arduino-language-server/releases/tag/${version}";
38 license = licenses.asl20;
39 maintainers = with maintainers; [ BattleCh1cken ];