Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
992 B · 44 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, fetchFromGitHub, setuptools, llm, llm-llama-server, pytestCheckHook, writableTmpDirAsHomeHook,}:
buildPythonPackage rec { pname = "llm-llama-server"; version = "0.2"; pyproject = true;
src = fetchFromGitHub { owner = "simonw"; repo = "llm-llama-server"; tag = version; hash = "sha256-jtFSfGu3JhNUfTsspY+OFLTMt9jQrh6R05sK9KBOKTE="; };
build-system = [ setuptools ];
dependencies = [ llm ];
nativeCheckInputs = [ pytestCheckHook writableTmpDirAsHomeHook ];
pythonImportsCheck = [ "llm_llama_server" ];
passthru.tests = llm.mkPluginTest llm-llama-server;
meta = { description = "LLM plugin for interacting with llama-server models"; homepage = "https://github.com/simonw/llm-llama-server"; changelog = "https://github.com/simonw/llm-llama-server/releases/tag/${version}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ philiptaron ]; };}