python3Packages.openai-agents: Migrate to finalAttrs
This commit is contained in:
@@ -12,13 +12,13 @@
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "openai-agents";
|
||||
version = "0.17.6";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
inherit (finalAttrs) version;
|
||||
pname = "openai_agents";
|
||||
hash = "sha256-/tlPjPDrTFfGOomtSxB5MtdfKgttnolciPo8IX5jyCI=";
|
||||
};
|
||||
@@ -42,10 +42,10 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/openai/openai-agents-python/releases/tag/${version}";
|
||||
changelog = "https://github.com/openai/openai-agents-python/releases/tag/v${finalAttrs.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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user