biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / language-servers / jsonnet-language-server / default.nix
blob5e3759aba06b866c79ddeff4d2f202e5b884bfd5
1 { lib
2 , stdenv
3 , buildGoModule
4 , fetchFromGitHub
5 }:
7 buildGoModule rec {
8   pname = "jsonnet-language-server";
9   version = "0.13.1";
11   src = fetchFromGitHub {
12     owner = "grafana";
13     repo = "jsonnet-language-server";
14     rev = "refs/tags/v${version}";
15     hash = "sha256-4tJrEipVbiYQY0L9sDH0f/qT8WY7c3md/Bar/dST+VI=";
16   };
18   vendorHash = "sha256-/mfwBHaouYN8JIxPz720/7MlMVh+5EEB+ocnYe4B020=";
20   ldflags = [
21     "-s"
22     "-w"
23     "-X 'main.version=${version}'"
24   ];
26   meta = with lib; {
27     description = "Language Server Protocol server for Jsonnet";
28     mainProgram = "jsonnet-language-server";
29     homepage = "https://github.com/grafana/jsonnet-language-server";
30     changelog = "https://github.com/grafana/jsonnet-language-server/releases/tag/v${version}";
31     license = licenses.agpl3Only;
32     maintainers = with maintainers; [ hardselius ];
33   };