depot/third_party/nixpkgs/pkgs/development/tools/jsonnet-language-server/default.nix
Default email b41113241d Project import generated by Copybara.
GitOrigin-RevId: ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90
2022-09-22 14:36:57 +02:00

26 lines
697 B
Nix

{ stdenv, lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "jsonnet-language-server";
version = "0.9.1";
src = fetchFromGitHub {
owner = "grafana";
repo = "jsonnet-language-server";
rev = "v${version}";
sha256 = "sha256-JNRMV52sSA45lp1UdJ4wBGrhlGIFhYHhgZU0lop1HcI=";
};
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 ];
};
}