thrift-ls: change binary name to mimic upstream

This commit is contained in:
Hugh Mandalidis 2024-09-10 21:32:32 +10:00
parent 4111d41c0b
commit 3a238a1f8b

View File

@ -17,6 +17,10 @@ buildGoModule rec {
vendorHash = "sha256-YoZ2dku84065Ygh9XU6dOwmCkuwX0r8a0Oo8c1HPsS4="; vendorHash = "sha256-YoZ2dku84065Ygh9XU6dOwmCkuwX0r8a0Oo8c1HPsS4=";
postInstall = ''
mv $out/bin/thrift-ls $out/bin/thriftls
'';
ldflags = [ ldflags = [
"-s" "-s"
"-w" "-w"
@ -26,7 +30,10 @@ buildGoModule rec {
description = "Thrift Language Server"; description = "Thrift Language Server";
homepage = "https://github.com/joyme123/thrift-ls"; homepage = "https://github.com/joyme123/thrift-ls";
license = lib.licenses.asl20; license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ callumio ]; maintainers = with lib.maintainers; [
mainProgram = "thrift-ls"; callumio
hughmandalidis
];
mainProgram = "thriftls";
}; };
} }