forked from mirrors/nixpkgs
Merge pull request #194520 from BattleCh1cken/master
arduino-language-server: init at 0.7.1
This commit is contained in:
commit
c2dda2338b
|
@ -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";
|
||||
|
|
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue