Files
nixpkgs/pkgs/development/python-modules/llm-groq/default.nix
T
Philip Taron 42fa505cf7 python3Packages.llm-*: use llm in the dependencies
There's no circular dependency problems anymore.
2025-05-31 20:52:40 -07:00

44 lines
848 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
llm,
llm-groq,
groq,
}:
buildPythonPackage rec {
pname = "llm-groq";
version = "0.8";
pyproject = true;
src = fetchFromGitHub {
owner = "angerman";
repo = "llm-groq";
tag = "v${version}";
hash = "sha256-sZ5d9w43NvypaPrebwZ5BLgRaCHAhd7gBU6uHEdUaF4=";
};
build-system = [
setuptools
];
dependencies = [
groq
llm
];
pythonImportsCheck = [ "llm_groq" ];
passthru.tests = llm.mkPluginTest llm-groq;
meta = {
description = "LLM plugin providing access to Groqcloud models.";
homepage = "https://github.com/angerman/llm-groq";
changelog = "https://github.com/angerman/llm-groq/releases/tag/${src.tag}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ philiptaron ];
};
}