jsonnet-language-server: add changelog to meta
This commit is contained in:
parent
5adef5eddc
commit
12ed9afb18
@ -1,4 +1,8 @@
|
||||
{ stdenv, lib, buildGoModule, fetchFromGitHub }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "jsonnet-language-server";
|
||||
@ -7,19 +11,22 @@ buildGoModule rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "grafana";
|
||||
repo = "jsonnet-language-server";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-oPItt1v4wK0W0lSots3hoq5A1ooCRwzJV8cNYV+SBb4=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-oPItt1v4wK0W0lSots3hoq5A1ooCRwzJV8cNYV+SBb4=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-ZyTo79M5nqtqrtTOGanzgHcnSvqCKACacNBWzhYG5nY=";
|
||||
vendorHash = "sha256-ZyTo79M5nqtqrtTOGanzgHcnSvqCKACacNBWzhYG5nY=";
|
||||
|
||||
ldflags = [
|
||||
"-s -w -X 'main.version=${version}'"
|
||||
"-s"
|
||||
"-w"
|
||||
"-X 'main.version=${version}'"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/grafana/jsonnet-language-server";
|
||||
description = "Language Server Protocol server for Jsonnet";
|
||||
homepage = "https://github.com/grafana/jsonnet-language-server";
|
||||
changelog = "https://github.com/grafana/jsonnet-language-server/releases/tag/v${version}";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = with maintainers; [ hardselius ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user