Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
926 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
griffe,
mcp,
openai,
pydantic,
requests,
types-requests,
typing-extensions,
}:
buildPythonPackage rec {
pname = "openai-agents";
version = "0.2.9";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "openai_agents";
hash = "sha256-YZxRyM5J+EFHSp5hlXPW9/lqRkMpAHUhRa0EMJq3Cuk=";
};
build-system = [
hatchling
];
dependencies = [
griffe
mcp
openai
pydantic
requests
types-requests
typing-extensions
];
pythonImportsCheck = [
"agents"
];
meta = {
changelog = "https://github.com/openai/openai-agents-python/releases/tag/${version}";
homepage = "https://github.com/openai/openai-agents-python";
description = "Lightweight, powerful framework for multi-agent workflows";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.bryanhonof ];
};
}