mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
thrift-ls: init at 0.2.1
This commit is contained in:
parent
c75dff8b34
commit
6162e8b74c
32
pkgs/by-name/th/thrift-ls/package.nix
Normal file
32
pkgs/by-name/th/thrift-ls/package.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "thrift-ls";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "joyme123";
|
||||
repo = "thrift-ls";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ywrb1pOpqHnVhb9MA2cgkF5croA9iqtvLxvVmeloOpE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-YoZ2dku84065Ygh9XU6dOwmCkuwX0r8a0Oo8c1HPsS4=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Thrift Language Server";
|
||||
homepage = "https://github.com/joyme123/thrift-ls";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ callumio ];
|
||||
mainProgram = "thrift-ls";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue