python3Packages.pydantic-ai-slim: init at 1.70.0
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
hatchling,
|
||||
uv-dynamic-versioning,
|
||||
|
||||
# dependencies
|
||||
genai-prices,
|
||||
griffelib,
|
||||
httpx,
|
||||
opentelemetry-api,
|
||||
pydantic-graph,
|
||||
pydantic,
|
||||
typing-inspection,
|
||||
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "pydantic-ai-slim";
|
||||
version = "1.70.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pydantic";
|
||||
repo = "pydantic-ai";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-eG+v5/v8PxGjTVdUcrwhWfIWHFXwNOLMFHsNK9zH7Wo=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/pydantic_ai_slim";
|
||||
|
||||
build-system = [
|
||||
hatchling
|
||||
uv-dynamic-versioning
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
genai-prices
|
||||
griffelib
|
||||
httpx
|
||||
opentelemetry-api
|
||||
pydantic-graph
|
||||
pydantic
|
||||
typing-inspection
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pydantic_ai"
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "GenAI Agent Framework, the Pydantic way";
|
||||
homepage = "https://github.com/pydantic/pydantic-ai";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ hexa ];
|
||||
};
|
||||
})
|
||||
@@ -13493,6 +13493,8 @@ self: super: with self; {
|
||||
|
||||
pydantic = callPackage ../development/python-modules/pydantic { };
|
||||
|
||||
pydantic-ai-slim = callPackage ../development/python-modules/pydantic-ai-slim { };
|
||||
|
||||
pydantic-argparse-extensible =
|
||||
callPackage ../development/python-modules/pydantic-argparse-extensible
|
||||
{ };
|
||||
|
||||
Reference in New Issue
Block a user