Skip to content

Commit

Permalink
Merge pull request #263320 from jfvillablanca/llm-ls
Browse files Browse the repository at this point in the history
llm-ls: init at 0.4.0
  • Loading branch information
teto authored Nov 6, 2023
2 parents 270ce14 + ab1da43 commit ba774d3
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions pkgs/by-name/ll/llm-ls/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{ lib
, rustPlatform
, fetchFromGitHub
}:

let
pname = "llm-ls";
version = "0.4.0";
in
rustPlatform.buildRustPackage {
inherit pname version;

src = fetchFromGitHub {
owner = "huggingface";
repo = "llm-ls";
rev = version;
sha256 = "sha256-aMoT/rH6o4dHCSiSI/btdKysFfIbHvV7R5dRHIOF/Qs=";
};

cargoHash = "sha256-Z6BO4kDtlIrVdDk1fiwyelpu1rj7e4cibgFZRsl1pfA=";

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";
};
}

0 comments on commit ba774d3

Please sign in to comment.