Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
731 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "thrift-ls";
version = "0.2.9";
src = fetchFromGitHub {
owner = "joyme123";
repo = "thrift-ls";
rev = "v${version}";
hash = "sha256-Gmqm1D+zcXtqFEraHjivqIqFz0AZCJd3pnH4zKE/jxw=";
};
vendorHash = "sha256-SGCJ12BxjFUQ7bnaNY0bvrrtm2qNNrwYKKfNEi1lPco=";
postInstall = ''
mv $out/bin/thrift-ls $out/bin/thriftls
'';
ldflags = [
"-s"
"-w"
];
meta = {
description = "Thrift Language Server";
homepage = "https://github.com/joyme123/thrift-ls";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
callumio
hughmandalidis
];
mainProgram = "thriftls";
};
}