Fabian Affolter 2025-08-08 00:08:55 +02:00
parent f4384b38da
commit 95c433aee9

View File

@ -12,18 +12,20 @@
pytestCheckHook, pytestCheckHook,
python-dotenv, python-dotenv,
smolagents, smolagents,
soundfile,
torchaudio,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "mcpadapt"; pname = "mcpadapt";
version = "0.1.10"; version = "0.1.12";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "grll"; owner = "grll";
repo = "mcpadapt"; repo = "mcpadapt";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-605e28p1rlJ5teCLxL/Lh8p5zV7cPuSzZWwfkE1gM5I="; hash = "sha256-mU/zcNEHmPfSMEMgjj4u0iwmXBH2cJzGEANPxyiR1l0=";
}; };
build-system = [ hatchling ]; build-system = [ hatchling ];
@ -35,12 +37,18 @@ buildPythonPackage rec {
]; ];
optional-dependencies = { optional-dependencies = {
audio = [
torchaudio
soundfile
];
# crewai = [ crewai ];
langchain = [ langchain = [
langchain langchain
# langchain-anthropic # langchain-anthropic
langgraph langgraph
]; ];
llamaindex = [ llama-index ]; llamaindex = [ llama-index ];
smolagents = [ smolagents ];
}; };
pythonImportsCheck = [ "mcpadapt" ]; pythonImportsCheck = [ "mcpadapt" ];