blob: d9fb4d6f60f61c1e40c04ae35d7d4d8deb05dcd7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl
}:
let
pname = "llm-ls";
version = "0.5.2";
in
rustPlatform.buildRustPackage {
inherit pname version;
src = fetchFromGitHub {
owner = "huggingface";
repo = "llm-ls";
rev = version;
sha256 = "sha256-DyPdx+nNBhOZ86GQljMYULatWny2EteNNzzO6qv1Wlk=";
};
cargoHash = "sha256-7McUyQjnCuV0JG65hUoR8TtB4vrjiEO1l7NXYochgG8=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
meta = with lib; {
description = "LSP server leveraging LLMs for code completion (and more?)";
homepage = "https://github.com/huggingface/llm-ls";
license = licenses.asl20;
maintainers = with maintainers; [ jfvillablanca ];
platforms = platforms.all;
badPlatforms = platforms.darwin;
mainProgram = "llm-ls";
};
}
|