Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
36 lines
819 B
Nix
36 lines
819 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "c3-lsp";
|
|
version = "0.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pherrymason";
|
|
repo = "c3-lsp";
|
|
rev = "v${version}";
|
|
hash = "sha256-MScpFh4J4jVJI5WtW4tfNB18YDpxs+ass1HmXyOO5VM=";
|
|
};
|
|
|
|
sourceRoot = "${src.name}/server";
|
|
|
|
vendorHash = "sha256-eT+Qirl0R1+di3JvXxggGK/nK9+nqw+8QEur+ldJXSc=";
|
|
|
|
postInstall = ''
|
|
mv $out/bin/lsp $out/bin/c3-lsp
|
|
'';
|
|
|
|
meta = {
|
|
description = "Language Server for C3 Language";
|
|
homepage = "https://github.com/pherrymason/c3-lsp";
|
|
changelog = "https://github.com/pherrymason/c3-lsp/blob/${src.rev}/changelog.md";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = with lib.maintainers; [ arthsmn ];
|
|
mainProgram = "c3-lsp";
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|