arduino-language-server: add changelog to meta
This commit is contained in:
parent
7de34eb220
commit
e38b57f07f
1 changed files with 11 additions and 4 deletions
|
@ -1,4 +1,8 @@
|
|||
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "arduino-language-server";
|
||||
|
@ -7,7 +11,7 @@ buildGoModule rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "arduino";
|
||||
repo = "arduino-language-server";
|
||||
rev = version;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-A5JcHdcSrRC1BxoJsPtLKBq1fu58SvwHm9hbgu8Uy5k=";
|
||||
};
|
||||
|
||||
|
@ -22,11 +26,14 @@ buildGoModule rec {
|
|||
"-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'" ];
|
||||
] ++ 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";
|
||||
homepage = "https://github.com/arduino/arduino-language-server";
|
||||
changelog = "https://github.com/arduino/arduino-language-server/releases/tag/${version}":
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ BattleCh1cken ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue