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
37 lines
812 B
Nix
37 lines
812 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
golangci-lint,
|
|
writableTmpDirAsHomeHook,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "golangci-lint-langserver";
|
|
version = "0.0.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nametake";
|
|
repo = "golangci-lint-langserver";
|
|
tag = "v${version}";
|
|
hash = "sha256-mwYhOUH5PAbPRfP86dw9w6lIZYz/iL+f863XWOhBFy0=";
|
|
};
|
|
|
|
vendorHash = "sha256-kbGTORTTxfftdU8ffsfh53nT7wZldOnBZ/1WWzN89Uc=";
|
|
|
|
subPackages = [ "." ];
|
|
|
|
nativeCheckInputs = [
|
|
golangci-lint
|
|
writableTmpDirAsHomeHook
|
|
];
|
|
|
|
meta = {
|
|
description = "Language server for golangci-lint";
|
|
homepage = "https://github.com/nametake/golangci-lint-langserver";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ kirillrdy ];
|
|
mainProgram = "golangci-lint-langserver";
|
|
};
|
|
}
|