chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / c3 / c3-lsp / package.nix
blob6f2e0b361c58eb320541cafaedc88c434b6e0eff
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "c3-lsp";
9   version = "0.3.2";
11   src = fetchFromGitHub {
12     owner = "pherrymason";
13     repo = "c3-lsp";
14     rev = "v${version}";
15     hash = "sha256-HD3NE2L1ge0pf8vtrKkYh4GIZg6lSPTZGFQ+LPbDup4=";
16   };
18   sourceRoot = "${src.name}/server";
20   vendorHash = "sha256-y+Qs3zuvTq/KRc1ziH0R7E10et+MaQW9xOsFmSdI7PM=";
22   postInstall = ''
23     mv $out/bin/lsp $out/bin/c3-lsp
24   '';
26   meta = {
27     description = "Language Server for C3 Language";
28     homepage = "https://github.com/pherrymason/c3-lsp";
29     changelog = "https://github.com/pherrymason/c3-lsp/blob/${src.rev}/changelog.md";
30     license = lib.licenses.gpl3Only;
31     maintainers = with lib.maintainers; [ arthsmn ];
32     mainProgram = "c3-lsp";
33     platforms = lib.platforms.all;
34   };