thrift-ls: change binary name to mimic upstream (#340976)

This commit is contained in:
nicoo
2024-09-10 12:23:41 +00:00
committed by GitHub
2 changed files with 15 additions and 2 deletions
+6
View File
@@ -8604,6 +8604,12 @@
githubId = 1592375;
name = "Walter Huf";
};
hughmandalidis = {
name = "Hugh Mandalidis";
email = "mandalidis.hugh@gmail.com";
github = "ThanePatrol";
githubId = 23148089;
};
hughobrien = {
email = "github@hughobrien.ie";
github = "hughobrien";
+9 -2
View File
@@ -17,6 +17,10 @@ buildGoModule rec {
vendorHash = "sha256-YoZ2dku84065Ygh9XU6dOwmCkuwX0r8a0Oo8c1HPsS4=";
postInstall = ''
mv $out/bin/thrift-ls $out/bin/thriftls
'';
ldflags = [
"-s"
"-w"
@@ -26,7 +30,10 @@ buildGoModule rec {
description = "Thrift Language Server";
homepage = "https://github.com/joyme123/thrift-ls";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ callumio ];
mainProgram = "thrift-ls";
maintainers = with lib.maintainers; [
callumio
hughmandalidis
];
mainProgram = "thriftls";
};
}