nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 43 lines 978 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 eval-type-backport, 5 fetchPypi, 6 uv-build, 7 llama-index-instrumentation, 8 pydantic, 9}: 10 11buildPythonPackage (finalAttrs: { 12 pname = "llama-index-workflows"; 13 version = "2.15.1"; 14 pyproject = true; 15 16 src = fetchPypi { 17 pname = "llama_index_workflows"; 18 inherit (finalAttrs) version; 19 hash = "sha256-Xkba4saD06negApPr0crSqkVAms/Qb02urowexLNPn8="; 20 }; 21 22 postPatch = '' 23 substituteInPlace pyproject.toml \ 24 --replace-fail "uv_build>=0.9.10,<0.10.0" "uv_build" 25 ''; 26 27 build-system = [ uv-build ]; 28 29 dependencies = [ 30 eval-type-backport 31 llama-index-instrumentation 32 pydantic 33 ]; 34 35 pythonImportsCheck = [ "workflows" ]; 36 37 meta = { 38 description = "Event-driven, async-first, step-based way to control the execution flow of AI applications like Agents"; 39 homepage = "https://pypi.org/project/llama-index-workflows/"; 40 license = lib.licenses.mit; 41 maintainers = with lib.maintainers; [ fab ]; 42 }; 43})