From c2330159712ee9ae4e74049982c6970683b3d1ae Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Thu, 30 Apr 2026 11:11:25 +0200 Subject: [PATCH] llmserve: init at 0.0.8 --- pkgs/by-name/ll/llmserve/package.nix | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 pkgs/by-name/ll/llmserve/package.nix diff --git a/pkgs/by-name/ll/llmserve/package.nix b/pkgs/by-name/ll/llmserve/package.nix new file mode 100644 index 000000000000..e9f04e89a190 --- /dev/null +++ b/pkgs/by-name/ll/llmserve/package.nix @@ -0,0 +1,34 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + nix-update-script, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "llmserve"; + version = "0.0.8"; + + src = fetchFromGitHub { + owner = "AlexsJones"; + repo = "llmserve"; + tag = "v${finalAttrs.version}"; + hash = "sha256-j4ko8AkrIOWlM1Tkl/pGMI1PzQc6yImCAZXEmO/NBko="; + }; + + cargoHash = "sha256-jwCQSm4k1YofCn2r5IX+knXbTo70bsAVHIxojeLpkqI="; + + __structuredAttrs = true; + __darwinAllowLocalNetworking = true; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "TUI for serving local LLM models"; + homepage = "https://github.com/AlexsJones/llmserve"; + changelog = "https://github.com/AlexsJones/llmserve/blob/v${finalAttrs.src.rev}/CHANGELOG.md"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ afh ]; + mainProgram = "llmserve"; + }; +})