7bc014aa9c
GitOrigin-RevId: c97e777ff06fcb8d37dcdf5e21e9eff1f34f0e90
26 lines
697 B
Nix
26 lines
697 B
Nix
{ stdenv, lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "jsonnet-language-server";
|
|
version = "0.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "grafana";
|
|
repo = "jsonnet-language-server";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-Qp01JcgDdIK1yqXJCasZkh6rWXujdCHSFVxHSVySj50=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-tsVevkMHuCv70A9Ohg9L+ghH5+v52X4sToI4bMlDzzo=";
|
|
|
|
ldflags = [
|
|
"-s -w -X 'main.version=${version}'"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/grafana/jsonnet-language-server";
|
|
description = "Language Server Protocol server for Jsonnet";
|
|
license = licenses.agpl3Only;
|
|
maintainers = with maintainers; [ hardselius ];
|
|
};
|
|
}
|