mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
arduino-language-server: init at 0.7.1
This commit is contained in:
parent
1d6b5d368e
commit
85fa4ac03e
@ -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 ];
|
||||
};
|
||||
}
|
@ -2063,6 +2063,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 New Issue
Block a user