Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344{ lib, buildPythonPackage, litellm, uv-build, psycopg, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "litellm-proxy-extras"; version = "0.4.108"; pyproject = true;
inherit (litellm) src;
sourceRoot = "${finalAttrs.src.name}/litellm-proxy-extras";
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "uv_build==0.11.8" "uv_build"
# prebuilt wheels committed upstream rm -r dist '';
build-system = [ uv-build ];
dependencies = [ psycopg ];
pythonRemoveDeps = [ "psycopg-binary" ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "litellm_proxy_extras" ];
meta = { description = "Database migrations and Prisma tooling for the LiteLLM proxy"; homepage = "https://github.com/BerriAI/litellm/tree/main/litellm-proxy-extras"; license = lib.licenses.mit; inherit (litellm.meta) maintainers; };})