depot/third_party/nixpkgs/pkgs/development/tools/language-servers/jsonnet-language-server/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

33 lines
814 B
Nix

{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "jsonnet-language-server";
version = "0.12.1";
src = fetchFromGitHub {
owner = "grafana";
repo = "jsonnet-language-server";
rev = "refs/tags/v${version}";
hash = "sha256-Z7ovjDt7MoV0/YRDOkidTs6O4vwKAVZyioeaNaehZLQ=";
};
vendorHash = "sha256-dOs+CasHQt9kcjQENG2rJfTimmkGzayJyGuyE6u8Pz4=";
ldflags = [
"-s"
"-w"
"-X 'main.version=${version}'"
];
meta = with lib; {
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 ];
};
}