3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #194520 from BattleCh1cken/master

arduino-language-server: init at 0.7.1
This commit is contained in:
Anderson Torres 2022-10-13 00:12:36 -03:00 committed by GitHub
commit c2dda2338b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 0 deletions

View file

@ -1550,6 +1550,12 @@
githubId = 576355;
name = "Bas van Dijk";
};
BattleCh1cken = {
email = "BattleCh1cken@larkov.de";
github = "BattleCh1cken";
githubId = 75806385;
name = "Felix Hass";
};
Baughn = {
email = "sveina@gmail.com";
github = "Baughn";

View file

@ -0,0 +1,33 @@
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "arduino-language-server";
version = "0.7.1";
src = fetchFromGitHub {
owner = "arduino";
repo = "arduino-language-server";
rev = version;
hash = "sha256-FnkXtjktj22LCkmFPxzQ72qiVBC1WR/ZiwMsmZPL578=";
};
subPackages = [ "." ];
vendorHash = "sha256-Xa26ilo95sQ/6dGvl4gB2bb0vzWXr+WPKLezAnZPeqM=";
doCheck = false;
ldflags = [
"-s"
"-w"
"-X github.com/arduino/arduino-language-server/version.versionString=${version}"
"-X github.com/arduino/arduino-language-server/version.commit=unknown"
] ++ lib.optionals stdenv.isLinux [ "-extldflags '-static'" ];
meta = with lib; {
inherit (src.meta) homepage;
description = "An Arduino Language Server based on Clangd to Arduino code autocompletion";
license = licenses.asl20;
maintainers = with maintainers; [ BattleCh1cken ];
};
}

View file

@ -2079,6 +2079,8 @@ with pkgs;
arduino-core = callPackage ../development/embedded/arduino/arduino-core/chrootenv.nix { };
arduino-core-unwrapped = callPackage ../development/embedded/arduino/arduino-core { };
arduino-language-server = callPackage ../development/embedded/arduino/arduino-language-server { };
arduino-mk = callPackage ../development/embedded/arduino/arduino-mk {};
apio = python3Packages.callPackage ../development/embedded/fpga/apio { };